#CACC8A#CACC8A

#CACC8A is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.086 H 109.6°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CACC8A
RGBrgb(202, 204, 138)
HSLhsl(62, 39%, 67%)
HSVhsv(62, 32%, 80%)
CMYKcmyk(1%, 0%, 32.4%, 20%)
CIE-LABlab(80.50, -10.89, 32.74)
CIE-LCHlch(80.50, 34.50, 108.41°)
OKLaboklab(82.81% -0.0289 0.0812)
OKLCHoklch(82.81% 0.086 109.6)
XYZxyz(50.5377, 57.5780, 32.4912)
Luminance0.5758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC8A #8C8ACC
analogous
#CCAD8A #CACC8A #A9CC8A
triadic
#CACC8A #8ACACC #CC8ACA
tetradic
#CACC8A #8ACCAD #8C8ACC #CC8AA9
square
#CACC8A #8ACCAD #8C8ACC #CC8AA9
split-complementary
#CACC8A #8AA9CC #AD8ACC
monochromatic
#969943 #B7B95F #CACC8A #DDDFB5 #F1F1DF

Accessibility & contrast

On white

1.68
#CACC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#CACC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC8A
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC8A#FFFFFF#000000##000000
##CACC8A1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C685
Deuteranopia (green-blind)
#D7C98D
Tritanopia (blue-blind)
#D3C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacc8a;
/* rgb */ color: rgb(202, 204, 138);
/* oklch */ color: oklch(82.8% 0.086 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbdbad',
    500: '#cacc8a',
    950: '#000000',
  },
}
SCSS
$custom: #cacc8a;
$custom-light: #dbdbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc8a",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 61.818,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82809,
    "c": 0.08619,
    "h": 109.6
  },
  "luminance": 0.57577
}

Semantic roles & 50–950 ramp

primary
#CACC8A
secondary
#5D5BA0
accent
#33B237
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CACC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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