#CDC597#CDC597

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

Color values

HEX#CDC597
RGBrgb(205, 197, 151)
HSLhsl(51, 35%, 70%)
HSVhsv(51, 26%, 80%)
CMYKcmyk(0%, 3.9%, 26.3%, 19.6%)
CIE-LABlab(79.13, -4.45, 24.14)
CIE-LCHlch(79.13, 24.54, 100.43°)
OKLaboklab(81.85% -0.01 0.061)
OKLCHoklch(81.85% 0.062 99.3)
XYZxyz(50.7292, 55.1470, 37.2443)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC597 #979FCD
analogous
#CDAA97 #CDC597 #BACD97
triadic
#CDC597 #97CDC5 #C597CD
tetradic
#CDC597 #97CDAA #979FCD #CD97BA
square
#CDC597 #97CDAA #979FCD #CD97BA
split-complementary
#CDC597 #97BACD #AA97CD
monochromatic
#9E924C #B9AE6E #CDC597 #E1DCC0 #F5F3EA

Accessibility & contrast

On white

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

On black

12.03
#CDC597 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC597
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC597#FFFFFF#000000##000000
##CDC5971.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC294
Deuteranopia (green-blind)
#D1C599
Tritanopia (blue-blind)
#D5BEB9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc597;
/* rgb */ color: rgb(205, 197, 151);
/* oklch */ color: oklch(81.8% 0.062 99.3);
Tailwind
colors: {
  custom: {
    50: '#dcd6b5',
    500: '#cdc597',
    950: '#000000',
  },
}
SCSS
$custom: #cdc597;
$custom-light: #dcd6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc597",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 151
  },
  "hsl": {
    "h": 51.111,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8185,
    "c": 0.06186,
    "h": 99.3
  },
  "luminance": 0.55146
}

Semantic roles & 50–950 ramp

primary
#CDC597
secondary
#666FA2
accent
#49AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC597

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

Preview Lab → · Contrast checker → · Palette generator →

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