#CDC86D#CDC86D

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

Color values

HEX#CDC86D
RGBrgb(205, 200, 109)
HSLhsl(57, 49%, 62%)
HSVhsv(57, 47%, 80%)
CMYKcmyk(0%, 2.4%, 46.8%, 19.6%)
CIE-LABlab(79.27, -10.83, 45.84)
CIE-LCHlch(79.27, 47.10, 103.29°)
OKLaboklab(81.75% -0.0311 0.1094)
OKLCHoklch(81.75% 0.114 105.9)
XYZxyz(48.5925, 55.3931, 22.5973)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC86D #6D72CD
analogous
#CD986D #CDC86D #A2CD6D
triadic
#CDC86D #6DCDC8 #C86DCD
tetradic
#CDC86D #6DCD98 #6D72CD #CD6DA2
square
#CDC86D #6DCD98 #6D72CD #CD6DA2
split-complementary
#CDC86D #6DA2CD #986DCD
monochromatic
#8F8A31 #BCB640 #CDC86D #DDD99B #ECEAC8

Accessibility & contrast

On white

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

On black

12.08
#CDC86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC86D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC86D#FFFFFF#000000##000000
##CDC86D1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc86d;
/* rgb */ color: rgb(205, 200, 109);
/* oklch */ color: oklch(81.8% 0.114 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded899',
    500: '#cdc86d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc86d;
$custom-light: #ded899;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc86d",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 109
  },
  "hsl": {
    "h": 56.875,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8175,
    "c": 0.11377,
    "h": 105.9
  },
  "luminance": 0.55392
}

Semantic roles & 50–950 ramp

primary
#CDC86D
secondary
#494D95
accent
#31BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC86D

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

Preview Lab → · Contrast checker → · Palette generator →

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