#CDD87E#CDD87E

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

Color values

HEX#CDD87E
RGBrgb(205, 216, 126)
HSLhsl(67, 54%, 67%)
HSVhsv(67, 42%, 85%)
CMYKcmyk(5.1%, 0%, 41.7%, 15.3%)
CIE-LABlab(83.76, -17.15, 43.03)
CIE-LCHlch(83.76, 46.32, 111.73°)
OKLaboklab(85.4% -0.0477 0.1043)
OKLCHoklch(85.4% 0.115 114.6)
XYZxyz(53.4991, 63.5979, 29.1919)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD87E #897ED8
analogous
#D8B67E #CDD87E #A0D87E
triadic
#CDD87E #7ECDD8 #D87ECD
tetradic
#CDD87E #7ED8B6 #897ED8 #D87EA0
square
#CDD87E #7ED8B6 #897ED8 #D87EA0
split-complementary
#CDD87E #7EA0D8 #B67ED8
monochromatic
#9AA933 #BBCA4F #CDD87E #DFE6AD #F1F4DC

Accessibility & contrast

On white

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

On black

13.72
#CDD87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD87E
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD87E#FFFFFF#000000##000000
##CDD87E1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdd87e;
/* rgb */ color: rgb(205, 216, 126);
/* oklch */ color: oklch(85.4% 0.115 114.6);
Tailwind
colors: {
  custom: {
    50: '#dde4a5',
    500: '#cdd87e',
    950: '#000000',
  },
}
SCSS
$custom: #cdd87e;
$custom-light: #dde4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd87e",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 126
  },
  "hsl": {
    "h": 67.333,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85396,
    "c": 0.11466,
    "h": 114.6
  },
  "luminance": 0.63597
}

Semantic roles & 50–950 ramp

primary
#CDD87E
secondary
#5A4EAC
accent
#24C138
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD87E

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

Preview Lab → · Contrast checker → · Palette generator →

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