#CACA2E#CACA2E

#CACA2E is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.3% C 0.165 H 109.6°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CACA2E
RGBrgb(202, 202, 46)
HSLhsl(60, 63%, 49%)
HSVhsv(60, 77%, 79%)
CMYKcmyk(0%, 0%, 77.2%, 20.8%)
CIE-LABlab(79.04, -17.17, 71.34)
CIE-LCHlch(79.04, 73.38, 103.53°)
OKLaboklab(81.34% -0.0552 0.1553)
OKLCHoklch(81.34% 0.165 109.6)
XYZxyz(45.9725, 54.9963, 10.7779)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA2E #2E2ECA
analogous
#CA7C2E #CACA2E #7CCA2E
triadic
#CACA2E #2ECACA #CA2ECA
tetradic
#CACA2E #2ECA7C #2E2ECA #CA2E7C
square
#CACA2E #2ECA7C #2E2ECA #CA2E7C
split-complementary
#CACA2E #2E7CCA #7C2ECA
monochromatic
#666617 #989823 #CACA2E #DADA5B #E5E58D

Accessibility & contrast

On white

1.75
#CACA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CACA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA2E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA2E#FFFFFF#000000##000000
##CACA2E1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#DCC63C
Tritanopia (blue-blind)
#D9BDAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca2e;
/* rgb */ color: rgb(202, 202, 46);
/* oklch */ color: oklch(81.3% 0.165 109.6);
Tailwind
colors: {
  custom: {
    50: '#ded974',
    500: '#caca2e',
    950: '#000000',
  },
}
SCSS
$custom: #caca2e;
$custom-light: #ded974;
$custom-dark: #000000;
JSON
{
  "hex": "#caca2e",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.81342,
    "c": 0.16485,
    "h": 109.6
  },
  "luminance": 0.54995
}

Semantic roles & 50–950 ramp

primary
#CACA2E
secondary
#2C2C70
accent
#42E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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