#CDC591#CDC591

#CDC591 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.069 H 100.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CDC591
RGBrgb(205, 197, 145)
HSLhsl(52, 38%, 69%)
HSVhsv(52, 29%, 80%)
CMYKcmyk(0%, 3.9%, 29.3%, 19.6%)
CIE-LABlab(79.02, -5.24, 27.15)
CIE-LCHlch(79.02, 27.66, 100.93°)
OKLaboklab(81.73% -0.0125 0.0682)
OKLCHoklch(81.73% 0.069 100.4)
XYZxyz(50.2543, 54.9570, 34.7430)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC591 #9199CD
analogous
#CDA791 #CDC591 #B7CD91
triadic
#CDC591 #91CDC5 #C591CD
tetradic
#CDC591 #91CDA7 #9199CD #CD91B7
square
#CDC591 #91CDA7 #9199CD #CD91B7
split-complementary
#CDC591 #91B7CD #A791CD
monochromatic
#9C9147 #BAAF67 #CDC591 #E0DBBB #F3F1E5

Accessibility & contrast

On white

1.75
#CDC591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CDC591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC591
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC591#FFFFFF#000000##000000
##CDC5911.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC28E
Deuteranopia (green-blind)
#D1C593
Tritanopia (blue-blind)
#D6BEB7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc591;
/* rgb */ color: rgb(205, 197, 145);
/* oklch */ color: oklch(81.7% 0.069 100.4);
Tailwind
colors: {
  custom: {
    50: '#ddd6b1',
    500: '#cdc591',
    950: '#000000',
  },
}
SCSS
$custom: #cdc591;
$custom-light: #ddd6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc591",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 145
  },
  "hsl": {
    "h": 52,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.81728,
    "c": 0.06931,
    "h": 100.4
  },
  "luminance": 0.54956
}

Semantic roles & 50–950 ramp

primary
#CDC591
secondary
#6069A2
accent
#46B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC591

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

Preview Lab → · Contrast checker → · Palette generator →

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