#CDD87F#CDD87F

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

Color values

HEX#CDD87F
RGBrgb(205, 216, 127)
HSLhsl(67, 53%, 67%)
HSVhsv(67, 41%, 85%)
CMYKcmyk(5.1%, 0%, 41.2%, 15.3%)
CIE-LABlab(83.77, -17.04, 42.55)
CIE-LCHlch(83.77, 45.84, 111.83°)
OKLaboklab(85.41% -0.0473 0.1033)
OKLCHoklch(85.41% 0.114 114.6)
XYZxyz(53.5639, 63.6238, 29.5334)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD87F #8A7FD8
analogous
#D8B77F #CDD87F #A0D87F
triadic
#CDD87F #7FCDD8 #D87FCD
tetradic
#CDD87F #7FD8B7 #8A7FD8 #D87FA0
square
#CDD87F #7FD8B7 #8A7FD8 #D87FA0
split-complementary
#CDD87F #7FA0D8 #B77FD8
monochromatic
#9BA934 #BBCA50 #CDD87F #DFE6AE #F2F5DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD87F#FFFFFF#000000##000000
##CDD87F1.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)
#E4D078
Deuteranopia (green-blind)
#E3D283
Tritanopia (blue-blind)
#D6CFC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd87f;
/* rgb */ color: rgb(205, 216, 127);
/* oklch */ color: oklch(85.4% 0.114 114.6);
Tailwind
colors: {
  custom: {
    50: '#dde4a5',
    500: '#cdd87f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd87f;
$custom-light: #dde4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd87f",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 67.416,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85411,
    "c": 0.11357,
    "h": 114.6
  },
  "luminance": 0.63623
}

Semantic roles & 50–950 ramp

primary
#CDD87F
secondary
#5A4FAC
accent
#25C138
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD87F

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

Preview Lab → · Contrast checker → · Palette generator →

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