#CDD542#CDD542

#CDD542 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.1% C 0.164 H 112.5°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#CDD542
RGBrgb(205, 213, 66)
HSLhsl(63, 64%, 55%)
HSVhsv(63, 69%, 84%)
CMYKcmyk(3.8%, 0%, 69%, 16.5%)
CIE-LABlab(82.36, -20.45, 67.95)
CIE-LCHlch(82.36, 70.96, 106.75°)
OKLaboklab(84.09% -0.0628 0.1515)
OKLCHoklch(84.09% 0.164 112.5)
XYZxyz(49.9560, 60.9621, 14.2885)
Luminance0.6096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD542 #4A42D5
analogous
#D59342 #CDD542 #84D542
triadic
#CDD542 #42CDD5 #D542CD
tetradic
#CDD542 #42D593 #4A42D5 #D54284
square
#CDD542 #42D593 #4A42D5 #D54284
split-complementary
#CDD542 #4284D5 #9342D5
monochromatic
#7B801C #ABB228 #CDD542 #DAE074 #E7EBA6

Accessibility & contrast

On white

1.59
#CDD542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#CDD542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD542
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD542#FFFFFF#000000##000000
##CDD5421.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB2A
Deuteranopia (green-blind)
#E5CF4D
Tritanopia (blue-blind)
#DBC8B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd542;
/* rgb */ color: rgb(205, 213, 66);
/* oklch */ color: oklch(84.1% 0.164 112.5);
Tailwind
colors: {
  custom: {
    50: '#e0e17f',
    500: '#cdd542',
    950: '#000000',
  },
}
SCSS
$custom: #cdd542;
$custom-light: #e0e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd542",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 63.265,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84089,
    "c": 0.164,
    "h": 112.5
  },
  "luminance": 0.60961
}

Semantic roles & 50–950 ramp

primary
#CDD542
secondary
#383487
accent
#41E74A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD542

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

Preview Lab → · Contrast checker → · Palette generator →

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