#CDD87B#CDD87B

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

Color values

HEX#CDD87B
RGBrgb(205, 216, 123)
HSLhsl(67, 54%, 66%)
HSVhsv(67, 43%, 85%)
CMYKcmyk(5.1%, 0%, 43.1%, 15.3%)
CIE-LABlab(83.72, -17.47, 44.46)
CIE-LCHlch(83.72, 47.77, 111.45°)
OKLaboklab(85.35% -0.0488 0.1073)
OKLCHoklch(85.35% 0.118 114.5)
XYZxyz(53.3084, 63.5216, 28.1877)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD87B #867BD8
analogous
#D8B57B #CDD87B #9FD87B
triadic
#CDD87B #7BCDD8 #D87BCD
tetradic
#CDD87B #7BD8B5 #867BD8 #D87B9F
square
#CDD87B #7BD8B5 #867BD8 #D87B9F
split-complementary
#CDD87B #7B9FD8 #B57BD8
monochromatic
#99A731 #BBCA4C #CDD87B #DFE6AA #F1F4D9

Accessibility & contrast

On white

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

On black

13.70
#CDD87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD87B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD87B#FFFFFF#000000##000000
##CDD87B1.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D073
Deuteranopia (green-blind)
#E3D280
Tritanopia (blue-blind)
#D7CEC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd87b;
/* rgb */ color: rgb(205, 216, 123);
/* oklch */ color: oklch(85.4% 0.118 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee4a3',
    500: '#cdd87b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd87b;
$custom-light: #dee4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd87b",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 67.097,
    "s": 54.386,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85351,
    "c": 0.11789,
    "h": 114.5
  },
  "luminance": 0.63521
}

Semantic roles & 50–950 ramp

primary
#CDD87B
secondary
#584DAB
accent
#24C236
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD87B

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

Preview Lab → · Contrast checker → · Palette generator →

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