#CDD442#CDD442

#CDD442 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.9% C 0.163 H 112.1°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#CDD442
RGBrgb(205, 212, 66)
HSLhsl(63, 63%, 55%)
HSVhsv(63, 69%, 83%)
CMYKcmyk(3.3%, 0%, 68.9%, 16.9%)
CIE-LABlab(82.09, -19.96, 67.68)
CIE-LCHlch(82.09, 70.56, 106.43°)
OKLaboklab(83.87% -0.0614 0.151)
OKLCHoklch(83.87% 0.163 112.1)
XYZxyz(49.7052, 60.4606, 14.2049)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD442 #4942D4
analogous
#D49242 #CDD442 #84D442
triadic
#CDD442 #42CDD4 #D442CD
tetradic
#CDD442 #42D492 #4942D4 #D44284
square
#CDD442 #42D492 #4942D4 #D44284
split-complementary
#CDD442 #4284D4 #9242D4
monochromatic
#7A7F1D #AAB128 #CDD442 #DADF74 #E7EBA6

Accessibility & contrast

On white

1.60
#CDD442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#CDD442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD442
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD442#FFFFFF#000000##000000
##CDD4421.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA2A
Deuteranopia (green-blind)
#E4CE4D
Tritanopia (blue-blind)
#DBC7B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd442;
/* rgb */ color: rgb(205, 212, 66);
/* oklch */ color: oklch(83.9% 0.163 112.1);
Tailwind
colors: {
  custom: {
    50: '#e0e17f',
    500: '#cdd442',
    950: '#000000',
  },
}
SCSS
$custom: #cdd442;
$custom-light: #e0e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd442",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 62.877,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83873,
    "c": 0.16296,
    "h": 112.1
  },
  "luminance": 0.60459
}

Semantic roles & 50–950 ramp

primary
#CDD442
secondary
#383486
accent
#42E64A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD442

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

Preview Lab → · Contrast checker → · Palette generator →

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