#CACA8A#CACA8A

#CACA8A is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.084 H 108.1°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CACA8A
RGBrgb(202, 202, 138)
HSLhsl(60, 38%, 67%)
HSVhsv(60, 32%, 79%)
CMYKcmyk(0%, 0%, 31.7%, 20.8%)
CIE-LABlab(79.97, -9.87, 32.04)
CIE-LCHlch(79.97, 33.52, 107.13°)
OKLaboklab(82.39% -0.026 0.0796)
OKLCHoklch(82.39% 0.084 108.1)
XYZxyz(50.0654, 56.6334, 32.3338)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA8A #8A8ACA
analogous
#CAAA8A #CACA8A #AACA8A
triadic
#CACA8A #8ACACA #CA8ACA
tetradic
#CACA8A #8ACAAA #8A8ACA #CA8AAA
square
#CACA8A #8ACAAA #8A8ACA #CA8AAA
split-complementary
#CACA8A #8AAACA #AA8ACA
monochromatic
#969644 #B7B760 #CACA8A #DDDDB4 #F0F0DE

Accessibility & contrast

On white

1.70
#CACA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CACA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA8A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA8A#FFFFFF#000000##000000
##CACA8A1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C586
Deuteranopia (green-blind)
#D5C88D
Tritanopia (blue-blind)
#D3C2BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #caca8a;
/* rgb */ color: rgb(202, 202, 138);
/* oklch */ color: oklch(82.4% 0.084 108.1);
Tailwind
colors: {
  custom: {
    50: '#dbdaac',
    500: '#caca8a',
    950: '#000000',
  },
}
SCSS
$custom: #caca8a;
$custom-light: #dbdaac;
$custom-dark: #000000;
JSON
{
  "hex": "#caca8a",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82388,
    "c": 0.0837,
    "h": 108.1
  },
  "luminance": 0.56633
}

Semantic roles & 50–950 ramp

primary
#CACA8A
secondary
#5B5B9D
accent
#35B135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CACA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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