#CDC44F#CDC44F

#CDC44F is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.137 H 104.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CDC44F
RGBrgb(205, 196, 79)
HSLhsl(56, 56%, 56%)
HSVhsv(56, 61%, 80%)
CMYKcmyk(0%, 4.4%, 61.5%, 19.6%)
CIE-LABlab(77.89, -11.20, 58.15)
CIE-LCHlch(77.89, 59.22, 100.90°)
OKLaboklab(80.55% -0.0354 0.1328)
OKLCHoklch(80.55% 0.137 104.9)
XYZxyz(46.3297, 53.0251, 15.1900)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC44F #4F58CD
analogous
#CD854F #CDC44F #97CD4F
triadic
#CDC44F #4FCDC4 #C44FCD
tetradic
#CDC44F #4FCD85 #4F58CD #CD4F97
square
#CDC44F #4FCD85 #4F58CD #CD4F97
split-complementary
#CDC44F #4F97CD #854FCD
monochromatic
#7E7724 #AEA531 #CDC44F #DBD47F #E8E4AE

Accessibility & contrast

On white

1.81
#CDC44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CDC44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC44F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC44F#FFFFFF#000000##000000
##CDC44F1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD41
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#DBB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc44f;
/* rgb */ color: rgb(205, 196, 79);
/* oklch */ color: oklch(80.6% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd585',
    500: '#cdc44f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc44f;
$custom-light: #dfd585;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc44f",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 55.714,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80554,
    "c": 0.13745,
    "h": 104.9
  },
  "luminance": 0.53024
}

Semantic roles & 50–950 ramp

primary
#CDC44F
secondary
#3B4086
accent
#53DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC44F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CDC44F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva