#CDC86E#CDC86E

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

Color values

HEX#CDC86E
RGBrgb(205, 200, 110)
HSLhsl(57, 49%, 62%)
HSVhsv(57, 46%, 80%)
CMYKcmyk(0%, 2.4%, 46.3%, 19.6%)
CIE-LABlab(79.28, -10.74, 45.37)
CIE-LCHlch(79.28, 46.62, 103.31°)
OKLaboklab(81.76% -0.0307 0.1085)
OKLCHoklch(81.76% 0.113 105.8)
XYZxyz(48.6467, 55.4148, 22.8824)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC86E #6E73CD
analogous
#CD996E #CDC86E #A3CD6E
triadic
#CDC86E #6ECDC8 #C86ECD
tetradic
#CDC86E #6ECD99 #6E73CD #CD6EA3
square
#CDC86E #6ECD99 #6E73CD #CD6EA3
split-complementary
#CDC86E #6EA3CD #996ECD
monochromatic
#8F8A31 #BDB641 #CDC86E #DDD99C #ECEBC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC86E#FFFFFF#000000##000000
##CDC86E1.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)
#D6C266
Deuteranopia (green-blind)
#D8C672
Tritanopia (blue-blind)
#D9BEB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc86e;
/* rgb */ color: rgb(205, 200, 110);
/* oklch */ color: oklch(81.8% 0.113 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded899',
    500: '#cdc86e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc86e;
$custom-light: #ded899;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc86e",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 110
  },
  "hsl": {
    "h": 56.842,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81764,
    "c": 0.11274,
    "h": 105.8
  },
  "luminance": 0.55413
}

Semantic roles & 50–950 ramp

primary
#CDC86E
secondary
#4A4E96
accent
#31BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC86E

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

Preview Lab → · Contrast checker → · Palette generator →

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