#CACA5A#CACA5A

#CACA5A is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.135 H 109.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CACA5A
RGBrgb(202, 202, 90)
HSLhsl(60, 51%, 57%)
HSVhsv(60, 55%, 79%)
CMYKcmyk(0%, 0%, 55.4%, 20.8%)
CIE-LABlab(79.35, -14.69, 54.84)
CIE-LCHlch(79.35, 56.77, 105.00°)
OKLaboklab(81.69% -0.0439 0.1272)
OKLCHoklch(81.69% 0.135 109)
XYZxyz(47.3244, 55.5370, 17.8977)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA5A #5A5ACA
analogous
#CA925A #CACA5A #92CA5A
triadic
#CACA5A #5ACACA #CA5ACA
tetradic
#CACA5A #5ACA92 #5A5ACA #CA5A92
square
#CACA5A #5ACA92 #5A5ACA #CA5A92
split-complementary
#CACA5A #5A92CA #925ACA
monochromatic
#808029 #AFAF38 #CACA5A #D9D988 #E8E8B7

Accessibility & contrast

On white

1.73
#CACA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CACA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA5A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA5A#FFFFFF#000000##000000
##CACA5A1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24E
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#D7BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #caca5a;
/* rgb */ color: rgb(202, 202, 90);
/* oklch */ color: oklch(81.7% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#ddd98c',
    500: '#caca5a',
    950: '#000000',
  },
}
SCSS
$custom: #caca5a;
$custom-light: #ddd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#caca5a",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.1346,
    "h": 109
  },
  "luminance": 0.55536
}

Semantic roles & 50–950 ramp

primary
#CACA5A
secondary
#404088
accent
#4DDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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