#CDCD4E

A color in the Yellow, Gold family

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

Color Codes

HEX#cdcd4e
RGBrgb(205 205 78)
RGB (legacy)rgb(205, 205, 78)
RGB %rgb(80% 80% 31%)
HSLhsl(60 56% 55%)
HSV / HSBhsv(60, 62%, 80%)
HWBhwb(60 31% 20%)
CMYKcmyk(0%, 0%, 62%, 20%)
CIELAB (D50)lab(80.63 -11.58 60.8)
LCHlch(80.63 61.89 100.78)
OKLaboklab(0.8246 -0.0485 0.139)
OKLCHoklch(0.8246 0.1472 109.24)
Decimal13487438

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 7.3
Closest web-safe color#cccc66
Hue60°
Saturation (HSL / HSV)56% / 62%
Lightness (HSL)55%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)75% / 77%
Relative luminance (WCAG)0.5719
Red / Green / Blue205 / 205 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.69:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.44: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 29.9 / -72.9 · As background with white / black text: Lc -33.7 / 73.9

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: #cdcd4e;
  --color-brand-oklch: oklch(82.46% 0.1472 109.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 205 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdcd4e] text-[#cdcd4e] border-[#cdcd4e]">