#CACA34#CACA34

#CACA34 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#CACA34
RGBrgb(202, 202, 52)
HSLhsl(60, 59%, 50%)
HSVhsv(60, 74%, 79%)
CMYKcmyk(0%, 0%, 74.3%, 20.8%)
CIE-LABlab(79.07, -16.93, 69.52)
CIE-LCHlch(79.07, 71.56, 103.69°)
OKLaboklab(81.38% -0.0541 0.1525)
OKLCHoklch(81.38% 0.162 109.5)
XYZxyz(46.0992, 55.0469, 11.4449)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA34 #3434CA
analogous
#CA7F34 #CACA34 #7FCA34
triadic
#CACA34 #34CACA #CA34CA
tetradic
#CACA34 #34CA7F #3434CA #CA347F
square
#CACA34 #34CA7F #3434CA #CA347F
split-complementary
#CACA34 #347FCA #7F34CA
monochromatic
#69691B #999927 #CACA34 #D7D764 #E4E495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACA34#FFFFFF#000000##000000
##CACA341.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)
#DAC111
Deuteranopia (green-blind)
#DCC640
Tritanopia (blue-blind)
#D8BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca34;
/* rgb */ color: rgb(202, 202, 52);
/* oklch */ color: oklch(81.4% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#ded977',
    500: '#caca34',
    950: '#000000',
  },
}
SCSS
$custom: #caca34;
$custom-light: #ded977;
$custom-dark: #000000;
JSON
{
  "hex": "#caca34",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 52
  },
  "hsl": {
    "h": 60,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81375,
    "c": 0.16183,
    "h": 109.5
  },
  "luminance": 0.55046
}

Semantic roles & 50–950 ramp

primary
#CACA34
secondary
#303073
accent
#46E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACA34

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

Preview Lab → · Contrast checker → · Palette generator →

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