#CAC12C#CAC12C

#CAC12C is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.4% C 0.158 H 105.8°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CAC12C
RGBrgb(202, 193, 44)
HSLhsl(57, 64%, 48%)
HSVhsv(57, 78%, 79%)
CMYKcmyk(0%, 4.5%, 78.2%, 20.8%)
CIE-LABlab(76.61, -12.72, 69.76)
CIE-LCHlch(76.61, 70.91, 100.33°)
OKLaboklab(79.4% -0.0429 0.1516)
OKLCHoklch(79.4% 0.158 105.8)
XYZxyz(43.8836, 50.8800, 9.8916)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC12C #2C35CA
analogous
#CA722C #CAC12C #84CA2C
triadic
#CAC12C #2CCAC1 #C12CCA
tetradic
#CAC12C #2CCA72 #2C35CA #CA2C84
square
#CAC12C #2CCA72 #2C35CA #CA2C84
split-complementary
#CAC12C #2C84CA #722CCA
monochromatic
#656116 #989121 #CAC12C #DBD358 #E6E08B

Accessibility & contrast

On white

1.88
#CAC12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#CAC12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC12C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC12C#FFFFFF#000000##000000
##CAC12C1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA00
Deuteranopia (green-blind)
#D6C039
Tritanopia (blue-blind)
#D9B4A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac12c;
/* rgb */ color: rgb(202, 193, 44);
/* oklch */ color: oklch(79.4% 0.158 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded372',
    500: '#cac12c',
    950: '#000000',
  },
}
SCSS
$custom: #cac12c;
$custom-light: #ded372;
$custom-dark: #000000;
JSON
{
  "hex": "#cac12c",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 56.582,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79398,
    "c": 0.15753,
    "h": 105.8
  },
  "luminance": 0.50878
}

Semantic roles & 50–950 ramp

primary
#CAC12C
secondary
#2A2E70
accent
#4AE741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC12C

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

Preview Lab → · Contrast checker → · Palette generator →

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