#CDC599#CDC599

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

Color values

HEX#CDC599
RGBrgb(205, 197, 153)
HSLhsl(51, 34%, 70%)
HSVhsv(51, 25%, 80%)
CMYKcmyk(0%, 3.9%, 25.4%, 19.6%)
CIE-LABlab(79.16, -4.17, 23.13)
CIE-LCHlch(79.16, 23.50, 100.22°)
OKLaboklab(81.89% -0.0092 0.0586)
OKLCHoklch(81.89% 0.059 98.9)
XYZxyz(50.8930, 55.2125, 38.1069)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC599 #99A1CD
analogous
#CDAB99 #CDC599 #BBCD99
triadic
#CDC599 #99CDC5 #C599CD
tetradic
#CDC599 #99CDAB #99A1CD #CD99BB
square
#CDC599 #99CDAB #99A1CD #CD99BB
split-complementary
#CDC599 #99BBCD #AB99CD
monochromatic
#9E924D #B9AE70 #CDC599 #E1DCC2 #F5F3EA

Accessibility & contrast

On white

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

On black

12.04
#CDC599 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC599
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC599#FFFFFF#000000##000000
##CDC5991.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc599;
/* rgb */ color: rgb(205, 197, 153);
/* oklch */ color: oklch(81.9% 0.059 98.9);
Tailwind
colors: {
  custom: {
    50: '#dcd6b7',
    500: '#cdc599',
    950: '#000000',
  },
}
SCSS
$custom: #cdc599;
$custom-light: #dcd6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc599",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 153
  },
  "hsl": {
    "h": 50.769,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.81892,
    "c": 0.05935,
    "h": 98.9
  },
  "luminance": 0.55212
}

Semantic roles & 50–950 ramp

primary
#CDC599
secondary
#6871A2
accent
#4AAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC599

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

Preview Lab → · Contrast checker → · Palette generator →

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