#CAC12E#CAC12E

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

Color values

HEX#CAC12E
RGBrgb(202, 193, 46)
HSLhsl(57, 63%, 49%)
HSVhsv(57, 77%, 79%)
CMYKcmyk(0%, 4.5%, 77.2%, 20.8%)
CIE-LABlab(76.62, -12.64, 69.16)
CIE-LCHlch(76.62, 70.31, 100.36°)
OKLaboklab(79.41% -0.0426 0.1507)
OKLCHoklch(79.41% 0.157 105.8)
XYZxyz(43.9221, 50.8954, 10.0944)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC12E #2E37CA
analogous
#CA732E #CAC12E #85CA2E
triadic
#CAC12E #2ECAC1 #C12ECA
tetradic
#CAC12E #2ECA73 #2E37CA #CA2E85
square
#CAC12E #2ECA73 #2E37CA #CA2E85
split-complementary
#CAC12E #2E85CA #732ECA
monochromatic
#666217 #989123 #CAC12E #DAD25B #E5E08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC12E#FFFFFF#000000##000000
##CAC12E1.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)
#D2BA03
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#D9B4A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac12e;
/* rgb */ color: rgb(202, 193, 46);
/* oklch */ color: oklch(79.4% 0.157 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded373',
    500: '#cac12e',
    950: '#000000',
  },
}
SCSS
$custom: #cac12e;
$custom-light: #ded373;
$custom-dark: #000000;
JSON
{
  "hex": "#cac12e",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 56.538,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79408,
    "c": 0.15656,
    "h": 105.8
  },
  "luminance": 0.50894
}

Semantic roles & 50–950 ramp

primary
#CAC12E
secondary
#2C3070
accent
#4BE642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC12E

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

Preview Lab → · Contrast checker → · Palette generator →

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