#CACA5E#CACA5E

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

Color values

HEX#CACA5E
RGBrgb(202, 202, 94)
HSLhsl(60, 50%, 58%)
HSVhsv(60, 53%, 79%)
CMYKcmyk(0%, 0%, 53.5%, 20.8%)
CIE-LABlab(79.39, -14.38, 53.06)
CIE-LCHlch(79.39, 54.97, 105.16°)
OKLaboklab(81.73% -0.0426 0.1239)
OKLCHoklch(81.73% 0.131 109)
XYZxyz(47.4993, 55.6070, 18.8186)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA5E #5E5ECA
analogous
#CA945E #CACA5E #94CA5E
triadic
#CACA5E #5ECACA #CA5ECA
tetradic
#CACA5E #5ECA94 #5E5ECA #CA5E94
square
#CACA5E #5ECA94 #5E5ECA #CA5E94
split-complementary
#CACA5E #5E94CA #945ECA
monochromatic
#83832B #B1B13A #CACA5E #D9D98C #E8E8BA

Accessibility & contrast

On white

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

On black

12.12
#CACA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA5E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA5E#FFFFFF#000000##000000
##CACA5E1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C353
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#D7BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #caca5e;
/* rgb */ color: rgb(202, 202, 94);
/* oklch */ color: oklch(81.7% 0.131 109.0);
Tailwind
colors: {
  custom: {
    50: '#dcda8f',
    500: '#caca5e',
    950: '#000000',
  },
}
SCSS
$custom: #caca5e;
$custom-light: #dcda8f;
$custom-dark: #000000;
JSON
{
  "hex": "#caca5e",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81734,
    "c": 0.13098,
    "h": 109
  },
  "luminance": 0.55606
}

Semantic roles & 50–950 ramp

primary
#CACA5E
secondary
#42428A
accent
#4EDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CACA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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