#CACA33#CACA33

#CACA33 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.162 H 109.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CACA33
RGBrgb(202, 202, 51)
HSLhsl(60, 60%, 50%)
HSVhsv(60, 75%, 79%)
CMYKcmyk(0%, 0%, 74.8%, 20.8%)
CIE-LABlab(79.06, -16.97, 69.84)
CIE-LCHlch(79.06, 71.87, 103.66°)
OKLaboklab(81.37% -0.0543 0.153)
OKLCHoklch(81.37% 0.162 109.5)
XYZxyz(46.0769, 55.0380, 11.3276)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA33 #3333CA
analogous
#CA7F33 #CACA33 #7FCA33
triadic
#CACA33 #33CACA #CA33CA
tetradic
#CACA33 #33CA7F #3333CA #CA337F
square
#CACA33 #33CA7F #3333CA #CA337F
split-complementary
#CACA33 #337FCA #7F33CA
monochromatic
#68681A #999927 #CACA33 #D8D863 #E4E494

Accessibility & contrast

On white

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

On black

12.01
#CACA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA33
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA33#FFFFFF#000000##000000
##CACA331.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC10D
Deuteranopia (green-blind)
#DCC63F
Tritanopia (blue-blind)
#D9BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca33;
/* rgb */ color: rgb(202, 202, 51);
/* oklch */ color: oklch(81.4% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#ded977',
    500: '#caca33',
    950: '#000000',
  },
}
SCSS
$custom: #caca33;
$custom-light: #ded977;
$custom-dark: #000000;
JSON
{
  "hex": "#caca33",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81369,
    "c": 0.16236,
    "h": 109.5
  },
  "luminance": 0.55037
}

Semantic roles & 50–950 ramp

primary
#CACA33
secondary
#2F2F72
accent
#45E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACA33

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

Preview Lab → · Contrast checker → · Palette generator →

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