#CDD04E#CDD04E

#CDD04E is a very light, vivid yellow. Relative luminance 0.586; 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#CDD04E
RGBrgb(205, 208, 78)
HSLhsl(61, 58%, 56%)
HSVhsv(61, 63%, 82%)
CMYKcmyk(1.4%, 0%, 62.5%, 18.4%)
CIE-LABlab(81.09, -17.29, 62.00)
CIE-LCHlch(81.09, 64.37, 105.59°)
OKLaboklab(83.11% -0.0527 0.1408)
OKLCHoklch(83.11% 0.15 110.5)
XYZxyz(49.1093, 58.6422, 15.9384)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD04E #514ED0
analogous
#D0924E #CDD04E #8CD04E
triadic
#CDD04E #4ECDD0 #D04ECD
tetradic
#CDD04E #4ED092 #514ED0 #D04E8C
square
#CDD04E #4ED092 #514ED0 #D04E8C
split-complementary
#CDD04E #4E8CD0 #924ED0
monochromatic
#7F8122 #AFB22F #CDD04E #DBDD7E #E8EAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD04E#FFFFFF#000000##000000
##CDD04E1.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)
#DFC73E
Deuteranopia (green-blind)
#E1CB56
Tritanopia (blue-blind)
#DAC4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdd04e;
/* rgb */ color: rgb(205, 208, 78);
/* oklch */ color: oklch(83.1% 0.150 110.5);
Tailwind
colors: {
  custom: {
    50: '#dfde86',
    500: '#cdd04e',
    950: '#000000',
  },
}
SCSS
$custom: #cdd04e;
$custom-light: #dfde86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd04e",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 61.385,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83106,
    "c": 0.15037,
    "h": 110.5
  },
  "luminance": 0.58641
}

Semantic roles & 50–950 ramp

primary
#CDD04E
secondary
#3B3A89
accent
#47E14A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD04E

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

Preview Lab → · Contrast checker → · Palette generator →

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