#CACA2C#CACA2C

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

Color values

HEX#CACA2C
RGBrgb(202, 202, 44)
HSLhsl(60, 64%, 48%)
HSVhsv(60, 78%, 79%)
CMYKcmyk(0%, 0%, 78.2%, 20.8%)
CIE-LABlab(79.03, -17.24, 71.91)
CIE-LCHlch(79.03, 73.95, 103.48°)
OKLaboklab(81.33% -0.0556 0.1562)
OKLCHoklch(81.33% 0.166 109.6)
XYZxyz(45.9340, 54.9809, 10.5751)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA2C #2C2CCA
analogous
#CA7B2C #CACA2C #7BCA2C
triadic
#CACA2C #2CCACA #CA2CCA
tetradic
#CACA2C #2CCA7B #2C2CCA #CA2C7B
square
#CACA2C #2CCA7B #2C2CCA #CA2C7B
split-complementary
#CACA2C #2C7BCA #7B2CCA
monochromatic
#656516 #989821 #CACA2C #DBDB58 #E6E68B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACA2C#FFFFFF#000000##000000
##CACA2C1.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)
#DDC63A
Tritanopia (blue-blind)
#D9BDAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca2c;
/* rgb */ color: rgb(202, 202, 44);
/* oklch */ color: oklch(81.3% 0.166 109.6);
Tailwind
colors: {
  custom: {
    50: '#ded974',
    500: '#caca2c',
    950: '#000000',
  },
}
SCSS
$custom: #caca2c;
$custom-light: #ded974;
$custom-dark: #000000;
JSON
{
  "hex": "#caca2c",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.81332,
    "c": 0.16577,
    "h": 109.6
  },
  "luminance": 0.54979
}

Semantic roles & 50–950 ramp

primary
#CACA2C
secondary
#2A2A70
accent
#41E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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