#CDD787#CDD787

#CDD787 is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.3% C 0.103 H 114.4°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CDD787
RGBrgb(205, 215, 135)
HSLhsl(68, 50%, 69%)
HSVhsv(68, 37%, 84%)
CMYKcmyk(4.7%, 0%, 37.2%, 15.7%)
CIE-LABlab(83.62, -15.64, 38.36)
CIE-LCHlch(83.62, 41.43, 112.19°)
OKLaboklab(85.33% -0.0428 0.0941)
OKLCHoklch(85.33% 0.103 114.4)
XYZxyz(53.8508, 63.3299, 32.3040)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD787 #9187D7
analogous
#D7B987 #CDD787 #A5D787
triadic
#CDD787 #87CDD7 #D787CD
tetradic
#CDD787 #87D7B9 #9187D7 #D787A5
square
#CDD787 #87D7B9 #9187D7 #D787A5
split-complementary
#CDD787 #87A5D7 #B987D7
monochromatic
#9CAB39 #BAC859 #CDD787 #E0E6B5 #F3F6E3

Accessibility & contrast

On white

1.54
#CDD787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#CDD787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD787
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD787#FFFFFF#000000##000000
##CDD7871.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D081
Deuteranopia (green-blind)
#E1D18B
Tritanopia (blue-blind)
#D6CEC3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd787;
/* rgb */ color: rgb(205, 215, 135);
/* oklch */ color: oklch(85.3% 0.103 114.4);
Tailwind
colors: {
  custom: {
    50: '#dde3ab',
    500: '#cdd787',
    950: '#000000',
  },
}
SCSS
$custom: #cdd787;
$custom-light: #dde3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd787",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 67.5,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85326,
    "c": 0.10335,
    "h": 114.4
  },
  "luminance": 0.63329
}

Semantic roles & 50–950 ramp

primary
#CDD787
secondary
#6055AD
accent
#28BD3B
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDD787

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

Preview Lab → · Contrast checker → · Palette generator →

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