#CDC59E#CDC59E

#CDC59E is a very light, muted yellow. Relative luminance 0.554; OKLCH L 82.0% C 0.053 H 97.7°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CDC59E
RGBrgb(205, 197, 158)
HSLhsl(50, 32%, 71%)
HSVhsv(50, 23%, 80%)
CMYKcmyk(0%, 3.9%, 22.9%, 19.6%)
CIE-LABlab(79.26, -3.47, 20.61)
CIE-LCHlch(79.26, 20.90, 99.56°)
OKLaboklab(82% -0.0071 0.0525)
OKLCHoklch(82% 0.053 97.7)
XYZxyz(51.3146, 55.3812, 40.3276)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC59E #9EA6CD
analogous
#CDAD9E #CDC59E #BDCD9E
triadic
#CDC59E #9ECDC5 #C59ECD
tetradic
#CDC59E #9ECDAD #9EA6CD #CD9EBD
square
#CDC59E #9ECDAD #9EA6CD #CD9EBD
split-complementary
#CDC59E #9EBDCD #AD9ECD
monochromatic
#9F9252 #B8AD76 #CDC59E #E2DDC6 #F5F3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC59E#FFFFFF#000000##000000
##CDC59E1.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)
#CDC39C
Deuteranopia (green-blind)
#CFC69F
Tritanopia (blue-blind)
#D5BFBA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc59e;
/* rgb */ color: rgb(205, 197, 158);
/* oklch */ color: oklch(82.0% 0.053 97.7);
Tailwind
colors: {
  custom: {
    50: '#dcd6ba',
    500: '#cdc59e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc59e;
$custom-light: #dcd6ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc59e",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 158
  },
  "hsl": {
    "h": 49.787,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.82,
    "c": 0.05302,
    "h": 97.7
  },
  "luminance": 0.5538
}

Semantic roles & 50–950 ramp

primary
#CDC59E
secondary
#6D76A2
accent
#4EAB3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC59E

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

Preview Lab → · Contrast checker → · Palette generator →

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