#CDC87E#CDC87E

#CDC87E is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.095 H 105.0°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CDC87E
RGBrgb(205, 200, 126)
HSLhsl(56, 44%, 65%)
HSVhsv(56, 39%, 80%)
CMYKcmyk(0%, 2.4%, 38.5%, 19.6%)
CIE-LABlab(79.50, -9.08, 37.63)
CIE-LCHlch(79.50, 38.71, 103.57°)
OKLaboklab(82.01% -0.0246 0.092)
OKLCHoklch(82.01% 0.095 105)
XYZxyz(49.5978, 55.7952, 27.8915)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC87E #7E83CD
analogous
#CDA17E #CDC87E #AACD7E
triadic
#CDC87E #7ECDC8 #C87ECD
tetradic
#CDC87E #7ECDA1 #7E83CD #CD7EAA
square
#CDC87E #7ECDA1 #7E83CD #CD7EAA
split-complementary
#CDC87E #7EAACD #A17ECD
monochromatic
#96913A #BCB552 #CDC87E #DEDBAA #EFEED6

Accessibility & contrast

On white

1.73
#CDC87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#CDC87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC87E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC87E#FFFFFF#000000##000000
##CDC87E1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C378
Deuteranopia (green-blind)
#D6C781
Tritanopia (blue-blind)
#D8BFB6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc87e;
/* rgb */ color: rgb(205, 200, 126);
/* oklch */ color: oklch(82.0% 0.095 105.0);
Tailwind
colors: {
  custom: {
    50: '#ddd8a4',
    500: '#cdc87e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc87e;
$custom-light: #ddd8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc87e",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 126
  },
  "hsl": {
    "h": 56.203,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82008,
    "c": 0.09526,
    "h": 105
  },
  "luminance": 0.55794
}

Semantic roles & 50–950 ramp

primary
#CDC87E
secondary
#53579D
accent
#37B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC87E

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

Preview Lab → · Contrast checker → · Palette generator →

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