#CDC595#CDC595

#CDC595 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.064 H 99.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CDC595
RGBrgb(205, 197, 149)
HSLhsl(51, 36%, 69%)
HSVhsv(51, 27%, 80%)
CMYKcmyk(0%, 3.9%, 27.3%, 19.6%)
CIE-LABlab(79.09, -4.72, 25.14)
CIE-LCHlch(79.09, 25.58, 100.62°)
OKLaboklab(81.81% -0.0109 0.0634)
OKLCHoklch(81.81% 0.064 99.7)
XYZxyz(50.5681, 55.0826, 36.3961)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC595 #959DCD
analogous
#CDA995 #CDC595 #B9CD95
triadic
#CDC595 #95CDC5 #C595CD
tetradic
#CDC595 #95CDA9 #959DCD #CD95B9
square
#CDC595 #95CDA9 #959DCD #CD95B9
split-complementary
#CDC595 #95B9CD #A995CD
monochromatic
#9D914A #B9AE6B #CDC595 #E1DCBF #F4F3E8

Accessibility & contrast

On white

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

On black

12.02
#CDC595 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC595
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC595#FFFFFF#000000##000000
##CDC5951.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC292
Deuteranopia (green-blind)
#D1C597
Tritanopia (blue-blind)
#D6BEB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc595;
/* rgb */ color: rgb(205, 197, 149);
/* oklch */ color: oklch(81.8% 0.064 99.7);
Tailwind
colors: {
  custom: {
    50: '#ddd6b4',
    500: '#cdc595',
    950: '#000000',
  },
}
SCSS
$custom: #cdc595;
$custom-light: #ddd6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc595",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 149
  },
  "hsl": {
    "h": 51.429,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.81809,
    "c": 0.06435,
    "h": 99.7
  },
  "luminance": 0.55082
}

Semantic roles & 50–950 ramp

primary
#CDC595
secondary
#646DA2
accent
#48AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC595

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

Preview Lab → · Contrast checker → · Palette generator →

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