#CDC86F#CDC86F

#CDC86F is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.112 H 105.8°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CDC86F
RGBrgb(205, 200, 111)
HSLhsl(57, 48%, 62%)
HSVhsv(57, 46%, 80%)
CMYKcmyk(0%, 2.4%, 45.9%, 19.6%)
CIE-LABlab(79.29, -10.64, 44.89)
CIE-LCHlch(79.29, 46.14, 103.33°)
OKLaboklab(81.78% -0.0304 0.1075)
OKLCHoklch(81.78% 0.112 105.8)
XYZxyz(48.7014, 55.4367, 23.1707)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC86F #6F74CD
analogous
#CD996F #CDC86F #A3CD6F
triadic
#CDC86F #6FCDC8 #C86FCD
tetradic
#CDC86F #6FCD99 #6F74CD #CD6FA3
square
#CDC86F #6FCD99 #6F74CD #CD6FA3
split-complementary
#CDC86F #6FA3CD #996FCD
monochromatic
#908B32 #BDB742 #CDC86F #DDD99C #EDEBCA

Accessibility & contrast

On white

1.74
#CDC86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CDC86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC86F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC86F#FFFFFF#000000##000000
##CDC86F1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C268
Deuteranopia (green-blind)
#D8C673
Tritanopia (blue-blind)
#D9BEB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc86f;
/* rgb */ color: rgb(205, 200, 111);
/* oklch */ color: oklch(81.8% 0.112 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded89a',
    500: '#cdc86f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc86f;
$custom-light: #ded89a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc86f",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 111
  },
  "hsl": {
    "h": 56.809,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81778,
    "c": 0.1117,
    "h": 105.8
  },
  "luminance": 0.55435
}

Semantic roles & 50–950 ramp

primary
#CDC86F
secondary
#4A4E96
accent
#32BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC86F

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

Preview Lab → · Contrast checker → · Palette generator →

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