#CDC598#CDC598

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

Color values

HEX#CDC598
RGBrgb(205, 197, 152)
HSLhsl(51, 35%, 70%)
HSVhsv(51, 26%, 80%)
CMYKcmyk(0%, 3.9%, 25.9%, 19.6%)
CIE-LABlab(79.14, -4.31, 23.64)
CIE-LCHlch(79.14, 24.02, 100.33°)
OKLaboklab(81.87% -0.0096 0.0598)
OKLCHoklch(81.87% 0.061 99.1)
XYZxyz(50.8107, 55.1796, 37.6738)
Luminance0.5518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC598 #98A0CD
analogous
#CDAA98 #CDC598 #BBCD98
triadic
#CDC598 #98CDC5 #C598CD
tetradic
#CDC598 #98CDAA #98A0CD #CD98BB
square
#CDC598 #98CDAA #98A0CD #CD98BB
split-complementary
#CDC598 #98BBCD #AA98CD
monochromatic
#9E924D #B9AE6F #CDC598 #E1DCC1 #F5F3EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC598#FFFFFF#000000##000000
##CDC5981.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)
#CEC295
Deuteranopia (green-blind)
#D0C59A
Tritanopia (blue-blind)
#D5BFB9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc598;
/* rgb */ color: rgb(205, 197, 152);
/* oklch */ color: oklch(81.9% 0.061 99.1);
Tailwind
colors: {
  custom: {
    50: '#dcd6b6',
    500: '#cdc598',
    950: '#000000',
  },
}
SCSS
$custom: #cdc598;
$custom-light: #dcd6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc598",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 152
  },
  "hsl": {
    "h": 50.943,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.81871,
    "c": 0.0606,
    "h": 99.1
  },
  "luminance": 0.55179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC598

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

Preview Lab → · Contrast checker → · Palette generator →

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