#CACA3B#CACA3B

#CACA3B is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.158 H 109.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CACA3B
RGBrgb(202, 202, 59)
HSLhsl(60, 57%, 51%)
HSVhsv(60, 71%, 79%)
CMYKcmyk(0%, 0%, 70.8%, 20.8%)
CIE-LABlab(79.11, -16.62, 67.20)
CIE-LCHlch(79.11, 69.22, 103.89°)
OKLaboklab(81.42% -0.0525 0.1488)
OKLCHoklch(81.42% 0.158 109.4)
XYZxyz(46.2687, 55.1148, 12.3378)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA3B #3B3BCA
analogous
#CA823B #CACA3B #82CA3B
triadic
#CACA3B #3BCACA #CA3BCA
tetradic
#CACA3B #3BCA82 #3B3BCA #CA3B82
square
#CACA3B #3BCA82 #3B3BCA #CA3B82
split-complementary
#CACA3B #3B82CA #823BCA
monochromatic
#6D6D1E #9D9D2B #CACA3B #D7D76B #E4E49B

Accessibility & contrast

On white

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

On black

12.02
#CACA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA3B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA3B#FFFFFF#000000##000000
##CACA3B1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC121
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#D8BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca3b;
/* rgb */ color: rgb(202, 202, 59);
/* oklch */ color: oklch(81.4% 0.158 109.4);
Tailwind
colors: {
  custom: {
    50: '#ded97b',
    500: '#caca3b',
    950: '#000000',
  },
}
SCSS
$custom: #caca3b;
$custom-light: #ded97b;
$custom-dark: #000000;
JSON
{
  "hex": "#caca3b",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81418,
    "c": 0.15784,
    "h": 109.4
  },
  "luminance": 0.55113
}

Semantic roles & 50–950 ramp

primary
#CACA3B
secondary
#333377
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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