#CACC47#CACC47

#CACC47 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.152 H 110.2°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CACC47
RGBrgb(202, 204, 71)
HSLhsl(61, 57%, 54%)
HSVhsv(61, 65%, 80%)
CMYKcmyk(1%, 0%, 65.2%, 20%)
CIE-LABlab(79.73, -16.98, 63.32)
CIE-LCHlch(79.73, 65.56, 105.01°)
OKLaboklab(81.94% -0.0524 0.1426)
OKLCHoklch(81.94% 0.152 110.2)
XYZxyz(47.0888, 56.1985, 14.3269)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC47 #4947CC
analogous
#CC8C47 #CACC47 #88CC47
triadic
#CACC47 #47CACC #CC47CA
tetradic
#CACC47 #47CC8C #4947CC #CC4788
square
#CACC47 #47CC8C #4947CC #CC4788
split-complementary
#CACC47 #4788CC #8C47CC
monochromatic
#767721 #A6A72E #CACC47 #D8D977 #E6E7A7

Accessibility & contrast

On white

1.72
#CACC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CACC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC47
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC47#FFFFFF#000000##000000
##CACC471.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC334
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#D8C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc47;
/* rgb */ color: rgb(202, 204, 71);
/* oklch */ color: oklch(81.9% 0.152 110.2);
Tailwind
colors: {
  custom: {
    50: '#dddb81',
    500: '#cacc47',
    950: '#000000',
  },
}
SCSS
$custom: #cacc47;
$custom-light: #dddb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc47",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 60.902,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81938,
    "c": 0.15195,
    "h": 110.2
  },
  "luminance": 0.56197
}

Semantic roles & 50–950 ramp

primary
#CACC47
secondary
#383780
accent
#48E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACC47

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

Preview Lab → · Contrast checker → · Palette generator →

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