#CACA2F#CACA2F

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

Color values

HEX#CACA2F
RGBrgb(202, 202, 47)
HSLhsl(60, 62%, 49%)
HSVhsv(60, 77%, 79%)
CMYKcmyk(0%, 0%, 76.7%, 20.8%)
CIE-LABlab(79.04, -17.13, 71.05)
CIE-LCHlch(79.04, 73.09, 103.55°)
OKLaboklab(81.35% -0.055 0.1549)
OKLCHoklch(81.35% 0.164 109.6)
XYZxyz(45.9925, 55.0043, 10.8829)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA2F #2F2FCA
analogous
#CA7D2F #CACA2F #7DCA2F
triadic
#CACA2F #2FCACA #CA2FCA
tetradic
#CACA2F #2FCA7D #2F2FCA #CA2F7D
square
#CACA2F #2FCA7D #2F2FCA #CA2F7D
split-complementary
#CACA2F #2F7DCA #7D2FCA
monochromatic
#676718 #989823 #CACA2F #D9D95D #E5E58F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACA2F#FFFFFF#000000##000000
##CACA2F1.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: #caca2f;
/* rgb */ color: rgb(202, 202, 47);
/* oklch */ color: oklch(81.3% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#ded975',
    500: '#caca2f',
    950: '#000000',
  },
}
SCSS
$custom: #caca2f;
$custom-light: #ded975;
$custom-dark: #000000;
JSON
{
  "hex": "#caca2f",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81347,
    "c": 0.16436,
    "h": 109.6
  },
  "luminance": 0.55003
}

Semantic roles & 50–950 ramp

primary
#CACA2F
secondary
#2C2C71
accent
#42E542
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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