#CAC598#CAC598

#CAC598 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.060 H 102.3°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CAC598
RGBrgb(202, 197, 152)
HSLhsl(54, 32%, 69%)
HSVhsv(54, 25%, 79%)
CMYKcmyk(0%, 2.5%, 24.8%, 20.8%)
CIE-LABlab(78.90, -5.45, 23.26)
CIE-LCHlch(78.90, 23.89, 103.19°)
OKLaboklab(81.62% -0.0129 0.0589)
OKLCHoklch(81.62% 0.06 102.3)
XYZxyz(49.9909, 54.7569, 37.6353)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC598 #989DCA
analogous
#CAAC98 #CAC598 #B6CA98
triadic
#CAC598 #98CAC5 #C598CA
tetradic
#CAC598 #98CAAC #989DCA #CA98B6
square
#CAC598 #98CAAC #989DCA #CA98B6
split-complementary
#CAC598 #98B6CA #AC98CA
monochromatic
#99914F #B5AE70 #CAC598 #DFDCC0 #F4F3E9

Accessibility & contrast

On white

1.76
#CAC598 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CAC598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC598
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC598#FFFFFF#000000##000000
##CAC5981.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC295
Deuteranopia (green-blind)
#CFC59A
Tritanopia (blue-blind)
#D2BFB9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac598;
/* rgb */ color: rgb(202, 197, 152);
/* oklch */ color: oklch(81.6% 0.060 102.3);
Tailwind
colors: {
  custom: {
    50: '#dad6b6',
    500: '#cac598',
    950: '#000000',
  },
}
SCSS
$custom: #cac598;
$custom-light: #dad6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cac598",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 152
  },
  "hsl": {
    "h": 54,
    "s": 32.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.81619,
    "c": 0.06032,
    "h": 102.3
  },
  "luminance": 0.54756
}

Semantic roles & 50–950 ramp

primary
#CAC598
secondary
#676D9F
accent
#46AB3B
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CAC598

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

Preview Lab → · Contrast checker → · Palette generator →

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