#CAC03A#CAC03A

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

Color values

HEX#CAC03A
RGBrgb(202, 192, 58)
HSLhsl(56, 58%, 51%)
HSVhsv(56, 71%, 79%)
CMYKcmyk(0%, 5%, 71.3%, 20.8%)
CIE-LABlab(76.41, -11.63, 64.94)
CIE-LCHlch(76.41, 65.98, 100.15°)
OKLaboklab(79.27% -0.0386 0.1439)
OKLCHoklch(79.27% 0.149 105)
XYZxyz(43.9723, 50.5630, 11.4456)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC03A #3A44CA
analogous
#CA783A #CAC03A #8CCA3A
triadic
#CAC03A #3ACAC0 #C03ACA
tetradic
#CAC03A #3ACA78 #3A44CA #CA3A8C
square
#CAC03A #3ACA78 #3A44CA #CA3A8C
split-complementary
#CAC03A #3A8CCA #783ACA
monochromatic
#6C671D #9D952A #CAC03A #D7CF6A #E4DF9A

Accessibility & contrast

On white

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

On black

11.11
#CAC03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC03A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC03A#FFFFFF#000000##000000
##CAC03A1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B923
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#D9B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cac03a;
/* rgb */ color: rgb(202, 192, 58);
/* oklch */ color: oklch(79.3% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#ded279',
    500: '#cac03a',
    950: '#000000',
  },
}
SCSS
$custom: #cac03a;
$custom-light: #ded279;
$custom-dark: #000000;
JSON
{
  "hex": "#cac03a",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 55.833,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79268,
    "c": 0.14899,
    "h": 105
  },
  "luminance": 0.50561
}

Semantic roles & 50–950 ramp

primary
#CAC03A
secondary
#323776
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC03A

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

Preview Lab → · Contrast checker → · Palette generator →

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