#CAC03D#CAC03D

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

Color values

HEX#CAC03D
RGBrgb(202, 192, 61)
HSLhsl(56, 57%, 52%)
HSVhsv(56, 70%, 79%)
CMYKcmyk(0%, 5%, 69.8%, 20.8%)
CIE-LABlab(76.43, -11.48, 63.85)
CIE-LCHlch(76.43, 64.88, 100.19°)
OKLaboklab(79.29% -0.0379 0.1421)
OKLCHoklch(79.29% 0.147 104.9)
XYZxyz(44.0508, 50.5944, 11.8593)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC03D #3D47CA
analogous
#CA7A3D #CAC03D #8ECA3D
triadic
#CAC03D #3DCAC0 #C03DCA
tetradic
#CAC03D #3DCA7A #3D47CA #CA3D8E
square
#CAC03D #3DCA7A #3D47CA #CA3D8E
split-complementary
#CAC03D #3D8ECA #7A3DCA
monochromatic
#6E691E #9F962B #CAC03D #D7D06D #E4DF9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC03D#FFFFFF#000000##000000
##CAC03D1.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)
#D1B928
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#D9B3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac03d;
/* rgb */ color: rgb(202, 192, 61);
/* oklch */ color: oklch(79.3% 0.147 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded27b',
    500: '#cac03d',
    950: '#000000',
  },
}
SCSS
$custom: #cac03d;
$custom-light: #ded27b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac03d",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 55.745,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7929,
    "c": 0.14709,
    "h": 104.9
  },
  "luminance": 0.50593
}

Semantic roles & 50–950 ramp

primary
#CAC03D
secondary
#333878
accent
#52E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC03D

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

Preview Lab → · Contrast checker → · Palette generator →

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