#CDD02E#CDD02E

#CDD02E is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.9% C 0.170 H 110.7°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CDD02E
RGBrgb(205, 208, 46)
HSLhsl(61, 64%, 50%)
HSVhsv(61, 78%, 82%)
CMYKcmyk(1.4%, 0%, 77.9%, 18.4%)
CIE-LABlab(80.90, -18.87, 73.10)
CIE-LCHlch(80.90, 75.49, 104.47°)
OKLaboklab(82.89% -0.0601 0.159)
OKLCHoklch(82.89% 0.17 110.7)
XYZxyz(48.2276, 58.2895, 11.2948)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD02E #312ED0
analogous
#D0822E #CDD02E #7CD02E
triadic
#CDD02E #2ECDD0 #D02ECD
tetradic
#CDD02E #2ED082 #312ED0 #D02E7C
square
#CDD02E #2ED082 #312ED0 #D02E7C
split-complementary
#CDD02E #2E7CD0 #822ED0
monochromatic
#6A6C18 #9C9E23 #CDD02E #D9DC5F #E5E792

Accessibility & contrast

On white

1.66
#CDD02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CDD02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD02E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD02E#FFFFFF#000000##000000
##CDD02E1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E2CB3D
Tritanopia (blue-blind)
#DCC3B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdd02e;
/* rgb */ color: rgb(205, 208, 46);
/* oklch */ color: oklch(82.9% 0.170 110.7);
Tailwind
colors: {
  custom: {
    50: '#e0de75',
    500: '#cdd02e',
    950: '#000000',
  },
}
SCSS
$custom: #cdd02e;
$custom-light: #e0de75;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd02e",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 46
  },
  "hsl": {
    "h": 61.111,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.82888,
    "c": 0.16994,
    "h": 110.7
  },
  "luminance": 0.58288
}

Semantic roles & 50–950 ramp

primary
#CDD02E
secondary
#2E2D75
accent
#41E744
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CDD02E

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

Preview Lab → · Contrast checker → · Palette generator →

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