#C5CD4E

A color in the Yellow, Gold family

#c5cd4e is a color in the Yellow, Gold family: RGB(197, 205, 78), HSL(64°, 56%, 55%), CMYK(4%, 0%, 62%, 20%). Closest named color: yellowgreen. Contrast is 1.72:1 on white and 12.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c5cd4e
RGBrgb(197 205 78)
RGB (legacy)rgb(197, 205, 78)
RGB %rgb(77% 80% 31%)
HSLhsl(64 56% 55%)
HSV / HSBhsv(64, 62%, 80%)
HWBhwb(64 31% 20%)
CMYKcmyk(4%, 0%, 62%, 20%)
CIELAB (D50)lab(79.98 -14.86 59.89)
LCHlch(79.98 61.7 103.93)
OKLaboklab(0.8181 -0.0574 0.1374)
OKLCHoklch(0.8181 0.1489 112.66)
Decimal12963150

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.3
Closest web-safe color#cccc66
Hue64°
Saturation (HSL / HSV)56% / 62%
Lightness (HSL)55%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)74% / 76%
Relative luminance (WCAG)0.5608
Red / Green / Blue197 / 205 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.72:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 30.9 / -71.9 · As background with white / black text: Lc -34.7 / 73

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c5cd4e;
  --color-brand-oklch: oklch(81.81% 0.1489 112.66);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(197 205 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c5cd4e] text-[#c5cd4e] border-[#c5cd4e]">