#CDD87D#CDD87D

#CDD87D is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.4% C 0.116 H 114.5°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CDD87D
RGBrgb(205, 216, 125)
HSLhsl(67, 54%, 67%)
HSVhsv(67, 42%, 85%)
CMYKcmyk(5.1%, 0%, 42.1%, 15.3%)
CIE-LABlab(83.74, -17.26, 43.51)
CIE-LCHlch(83.74, 46.81, 111.64°)
OKLaboklab(85.38% -0.048 0.1053)
OKLCHoklch(85.38% 0.116 114.5)
XYZxyz(53.4349, 63.5722, 28.8538)
Luminance0.6357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD87D #887DD8
analogous
#D8B67D #CDD87D #A0D87D
triadic
#CDD87D #7DCDD8 #D87DCD
tetradic
#CDD87D #7DD8B6 #887DD8 #D87DA0
square
#CDD87D #7DD8B6 #887DD8 #D87DA0
split-complementary
#CDD87D #7DA0D8 #B67DD8
monochromatic
#9AA832 #BBCA4E #CDD87D #DFE6AC #F1F4DB

Accessibility & contrast

On white

1.53
#CDD87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#CDD87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD87D
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD87D#FFFFFF#000000##000000
##CDD87D1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D076
Deuteranopia (green-blind)
#E3D281
Tritanopia (blue-blind)
#D7CFC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd87d;
/* rgb */ color: rgb(205, 216, 125);
/* oklch */ color: oklch(85.4% 0.116 114.5);
Tailwind
colors: {
  custom: {
    50: '#dde4a4',
    500: '#cdd87d',
    950: '#000000',
  },
}
SCSS
$custom: #cdd87d;
$custom-light: #dde4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd87d",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 67.253,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85381,
    "c": 0.11574,
    "h": 114.5
  },
  "luminance": 0.63572
}

Semantic roles & 50–950 ramp

primary
#CDD87D
secondary
#594EAC
accent
#24C137
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD87D

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

Preview Lab → · Contrast checker → · Palette generator →

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