#CDD04F#CDD04F

#CDD04F is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.1% C 0.150 H 110.5°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CDD04F
RGBrgb(205, 208, 79)
HSLhsl(61, 58%, 56%)
HSVhsv(61, 62%, 82%)
CMYKcmyk(1.4%, 0%, 62%, 18.4%)
CIE-LABlab(81.10, -17.23, 61.60)
CIE-LCHlch(81.10, 63.96, 105.63°)
OKLaboklab(83.12% -0.0524 0.1401)
OKLCHoklch(83.12% 0.15 110.5)
XYZxyz(49.1454, 58.6566, 16.1286)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD04F #524FD0
analogous
#D0934F #CDD04F #8DD04F
triadic
#CDD04F #4FCDD0 #D04FCD
tetradic
#CDD04F #4FD093 #524FD0 #D04F8D
square
#CDD04F #4FD093 #524FD0 #D04F8D
split-complementary
#CDD04F #4F8DD0 #934FD0
monochromatic
#808223 #AFB230 #CDD04F #DBDD7F #E8EAB0

Accessibility & contrast

On white

1.65
#CDD04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CDD04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD04F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD04F#FFFFFF#000000##000000
##CDD04F1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E1CB57
Tritanopia (blue-blind)
#DAC4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdd04f;
/* rgb */ color: rgb(205, 208, 79);
/* oklch */ color: oklch(83.1% 0.150 110.5);
Tailwind
colors: {
  custom: {
    50: '#dfde86',
    500: '#cdd04f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd04f;
$custom-light: #dfde86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd04f",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 61.395,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83115,
    "c": 0.1496,
    "h": 110.5
  },
  "luminance": 0.58655
}

Semantic roles & 50–950 ramp

primary
#CDD04F
secondary
#3C3A89
accent
#47E14A
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD04F

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

Preview Lab → · Contrast checker → · Palette generator →

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