#CACC46#CACC46

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

Color values

HEX#CACC46
RGBrgb(202, 204, 70)
HSLhsl(61, 57%, 54%)
HSVhsv(61, 66%, 80%)
CMYKcmyk(1%, 0%, 65.7%, 20%)
CIE-LABlab(79.72, -17.04, 63.71)
CIE-LCHlch(79.72, 65.95, 104.97°)
OKLaboklab(81.93% -0.0526 0.1433)
OKLCHoklch(81.93% 0.153 110.2)
XYZxyz(47.0570, 56.1858, 14.1593)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC46 #4846CC
analogous
#CC8B46 #CACC46 #87CC46
triadic
#CACC46 #46CACC #CC46CA
tetradic
#CACC46 #46CC8B #4846CC #CC4687
square
#CACC46 #46CC8B #4846CC #CC4687
split-complementary
#CACC46 #4687CC #8B46CC
monochromatic
#767721 #A5A72E #CACC46 #D8D976 #E5E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC46#FFFFFF#000000##000000
##CACC461.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)
#DCC333
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#D8C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc46;
/* rgb */ color: rgb(202, 204, 70);
/* oklch */ color: oklch(81.9% 0.153 110.2);
Tailwind
colors: {
  custom: {
    50: '#dddb81',
    500: '#cacc46',
    950: '#000000',
  },
}
SCSS
$custom: #cacc46;
$custom-light: #dddb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc46",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 60.896,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8193,
    "c": 0.15266,
    "h": 110.2
  },
  "luminance": 0.56184
}

Semantic roles & 50–950 ramp

primary
#CACC46
secondary
#38377F
accent
#48E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CACC46

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

Preview Lab → · Contrast checker → · Palette generator →

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