#CDD04B#CDD04B

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

Color values

HEX#CDD04B
RGBrgb(205, 208, 75)
HSLhsl(61, 59%, 55%)
HSVhsv(61, 64%, 82%)
CMYKcmyk(1.4%, 0%, 63.9%, 18.4%)
CIE-LABlab(81.07, -17.48, 63.19)
CIE-LCHlch(81.07, 65.57, 105.46°)
OKLaboklab(83.08% -0.0536 0.1429)
OKLCHoklch(83.08% 0.153 110.5)
XYZxyz(49.0042, 58.6001, 15.3848)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD04B #4E4BD0
analogous
#D0904B #CDD04B #8BD04B
triadic
#CDD04B #4BCDD0 #D04BCD
tetradic
#CDD04B #4BD090 #4E4BD0 #D04B8B
square
#CDD04B #4BD090 #4E4BD0 #D04B8B
split-complementary
#CDD04B #4B8BD0 #904BD0
monochromatic
#7D7F21 #ADB02E #CDD04B #DADD7C #E8E9AC

Accessibility & contrast

On white

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

On black

12.72
#CDD04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD04B
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD04B#FFFFFF#000000##000000
##CDD04B1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C739
Deuteranopia (green-blind)
#E1CB54
Tritanopia (blue-blind)
#DBC4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdd04b;
/* rgb */ color: rgb(205, 208, 75);
/* oklch */ color: oklch(83.1% 0.153 110.5);
Tailwind
colors: {
  custom: {
    50: '#dfde84',
    500: '#cdd04b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd04b;
$custom-light: #dfde84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd04b",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 61.353,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8308,
    "c": 0.15262,
    "h": 110.5
  },
  "luminance": 0.58599
}

Semantic roles & 50–950 ramp

primary
#CDD04B
secondary
#3A3887
accent
#46E24A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD04B

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

Preview Lab → · Contrast checker → · Palette generator →

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