#CACA47#CACA47

#CACA47 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.150 H 109.3°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CACA47
RGBrgb(202, 202, 71)
HSLhsl(60, 55%, 54%)
HSVhsv(60, 65%, 79%)
CMYKcmyk(0%, 0%, 64.9%, 20.8%)
CIE-LABlab(79.19, -15.98, 62.77)
CIE-LCHlch(79.19, 64.77, 104.28°)
OKLaboklab(81.51% -0.0496 0.1415)
OKLCHoklch(81.51% 0.15 109.3)
XYZxyz(46.6165, 55.2539, 14.1695)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA47 #4747CA
analogous
#CA8847 #CACA47 #88CA47
triadic
#CACA47 #47CACA #CA47CA
tetradic
#CACA47 #47CA88 #4747CA #CA4788
square
#CACA47 #47CA88 #4747CA #CA4788
split-complementary
#CACA47 #4788CA #8847CA
monochromatic
#757522 #A4A42F #CACA47 #D8D877 #E5E5A6

Accessibility & contrast

On white

1.74
#CACA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CACA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA47
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA47#FFFFFF#000000##000000
##CACA471.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC235
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca47;
/* rgb */ color: rgb(202, 202, 71);
/* oklch */ color: oklch(81.5% 0.150 109.3);
Tailwind
colors: {
  custom: {
    50: '#ddd981',
    500: '#caca47',
    950: '#000000',
  },
}
SCSS
$custom: #caca47;
$custom-light: #ddd981;
$custom-dark: #000000;
JSON
{
  "hex": "#caca47",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81508,
    "c": 0.1499,
    "h": 109.3
  },
  "luminance": 0.55253
}

Semantic roles & 50–950 ramp

primary
#CACA47
secondary
#38387E
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACA47

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

Preview Lab → · Contrast checker → · Palette generator →

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