#CDC59A#CDC59A

#CDC59A is a light, muted yellow. Relative luminance 0.552; OKLCH L 81.9% C 0.058 H 98.7°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CDC59A
RGBrgb(205, 197, 154)
HSLhsl(51, 34%, 70%)
HSVhsv(51, 25%, 80%)
CMYKcmyk(0%, 3.9%, 24.9%, 19.6%)
CIE-LABlab(79.18, -4.03, 22.63)
CIE-LCHlch(79.18, 22.98, 100.11°)
OKLaboklab(81.91% -0.0088 0.0574)
OKLCHoklch(81.91% 0.058 98.7)
XYZxyz(50.9759, 55.2457, 38.5437)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC59A #9AA2CD
analogous
#CDAB9A #CDC59A #BBCD9A
triadic
#CDC59A #9ACDC5 #C59ACD
tetradic
#CDC59A #9ACDAB #9AA2CD #CD9ABB
square
#CDC59A #9ACDAB #9AA2CD #CD9ABB
split-complementary
#CDC59A #9ABBCD #AB9ACD
monochromatic
#9E924E #B9AD71 #CDC59A #E1DDC3 #F5F3EB

Accessibility & contrast

On white

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

On black

12.05
#CDC59A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC59A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC59A#FFFFFF#000000##000000
##CDC59A1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC297
Deuteranopia (green-blind)
#D0C69B
Tritanopia (blue-blind)
#D5BFB9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc59a;
/* rgb */ color: rgb(205, 197, 154);
/* oklch */ color: oklch(81.9% 0.058 98.7);
Tailwind
colors: {
  custom: {
    50: '#dcd6b8',
    500: '#cdc59a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc59a;
$custom-light: #dcd6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc59a",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 154
  },
  "hsl": {
    "h": 50.588,
    "s": 33.775,
    "l": 70.392
  },
  "oklch": {
    "l": 0.81913,
    "c": 0.05809,
    "h": 98.7
  },
  "luminance": 0.55245
}

Semantic roles & 50–950 ramp

primary
#CDC59A
secondary
#6972A2
accent
#4BAD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC59A

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

Preview Lab → · Contrast checker → · Palette generator →

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