#CDC86B#CDC86B

#CDC86B is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.116 H 106.0°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CDC86B
RGBrgb(205, 200, 107)
HSLhsl(57, 49%, 61%)
HSVhsv(57, 48%, 80%)
CMYKcmyk(0%, 2.4%, 47.8%, 19.6%)
CIE-LABlab(79.24, -11.02, 46.79)
CIE-LCHlch(79.24, 48.07, 103.25°)
OKLaboklab(81.72% -0.0318 0.1114)
OKLCHoklch(81.72% 0.116 106)
XYZxyz(48.4861, 55.3505, 22.0367)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC86B #6B70CD
analogous
#CD976B #CDC86B #A1CD6B
triadic
#CDC86B #6BCDC8 #C86BCD
tetradic
#CDC86B #6BCD97 #6B70CD #CD6BA1
square
#CDC86B #6BCD97 #6B70CD #CD6BA1
split-complementary
#CDC86B #6BA1CD #976BCD
monochromatic
#8E8930 #BBB53F #CDC86B #DCD999 #ECEAC6

Accessibility & contrast

On white

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

On black

12.07
#CDC86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC86B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC86B#FFFFFF#000000##000000
##CDC86B1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C263
Deuteranopia (green-blind)
#D8C66F
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc86b;
/* rgb */ color: rgb(205, 200, 107);
/* oklch */ color: oklch(81.7% 0.116 106.0);
Tailwind
colors: {
  custom: {
    50: '#ded897',
    500: '#cdc86b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc86b;
$custom-light: #ded897;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc86b",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 107
  },
  "hsl": {
    "h": 56.939,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81723,
    "c": 0.11583,
    "h": 106
  },
  "luminance": 0.55349
}

Semantic roles & 50–950 ramp

primary
#CDC86B
secondary
#484C94
accent
#30BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC86B

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

Preview Lab → · Contrast checker → · Palette generator →

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