#CACA2B#CACA2B

#CACA2B 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 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CACA2B
RGBrgb(202, 202, 43)
HSLhsl(60, 65%, 48%)
HSVhsv(60, 79%, 79%)
CMYKcmyk(0%, 0%, 78.7%, 20.8%)
CIE-LABlab(79.03, -17.27, 72.19)
CIE-LCHlch(79.03, 74.23, 103.46°)
OKLaboklab(81.33% -0.0557 0.1566)
OKLCHoklch(81.33% 0.166 109.6)
XYZxyz(45.9155, 54.9735, 10.4773)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA2B #2B2BCA
analogous
#CA7A2B #CACA2B #7ACA2B
triadic
#CACA2B #2BCACA #CA2BCA
tetradic
#CACA2B #2BCA7A #2B2BCA #CA2B7A
square
#CACA2B #2BCA7A #2B2BCA #CA2B7A
split-complementary
#CACA2B #2B7ACA #7A2BCA
monochromatic
#656516 #989820 #CACA2B #DBDB57 #E6E689

Accessibility & contrast

On white

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

On black

11.99
#CACA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA2B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA2B#FFFFFF#000000##000000
##CACA2B1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.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: #caca2b;
/* rgb */ color: rgb(202, 202, 43);
/* oklch */ color: oklch(81.3% 0.166 109.6);
Tailwind
colors: {
  custom: {
    50: '#ded973',
    500: '#caca2b',
    950: '#000000',
  },
}
SCSS
$custom: #caca2b;
$custom-light: #ded973;
$custom-dark: #000000;
JSON
{
  "hex": "#caca2b",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.81327,
    "c": 0.16622,
    "h": 109.6
  },
  "luminance": 0.54972
}

Semantic roles & 50–950 ramp

primary
#CACA2B
secondary
#2A2A6F
accent
#40E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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