#CAC03E#CAC03E

#CAC03E is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.3% C 0.146 H 104.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#CAC03E
RGBrgb(202, 192, 62)
HSLhsl(56, 57%, 52%)
HSVhsv(56, 69%, 79%)
CMYKcmyk(0%, 5%, 69.3%, 20.8%)
CIE-LABlab(76.44, -11.43, 63.48)
CIE-LCHlch(76.44, 64.50, 100.20°)
OKLaboklab(79.3% -0.0377 0.1415)
OKLCHoklch(79.3% 0.146 104.9)
XYZxyz(44.0780, 50.6053, 12.0025)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC03E #3E48CA
analogous
#CA7A3E #CAC03E #8ECA3E
triadic
#CAC03E #3ECAC0 #C03ECA
tetradic
#CAC03E #3ECA7A #3E48CA #CA3E8E
square
#CAC03E #3ECA7A #3E48CA #CA3E8E
split-complementary
#CAC03E #3E8ECA #7A3ECA
monochromatic
#6F691F #9F972C #CAC03E #D7D06E #E4DF9E

Accessibility & contrast

On white

1.89
#CAC03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#CAC03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC03E
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC03E#FFFFFF#000000##000000
##CAC03E1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B92A
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#D9B3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac03e;
/* rgb */ color: rgb(202, 192, 62);
/* oklch */ color: oklch(79.3% 0.146 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded27b',
    500: '#cac03e',
    950: '#000000',
  },
}
SCSS
$custom: #cac03e;
$custom-light: #ded27b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac03e",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 55.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79297,
    "c": 0.14644,
    "h": 104.9
  },
  "luminance": 0.50604
}

Semantic roles & 50–950 ramp

primary
#CAC03E
secondary
#343978
accent
#53E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC03E

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

Preview Lab → · Contrast checker → · Palette generator →

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