#CAAC19#CAAC19

#CAAC19 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.149 H 95.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CAAC19
RGBrgb(202, 172, 25)
HSLhsl(50, 78%, 45%)
HSVhsv(50, 88%, 79%)
CMYKcmyk(0%, 14.9%, 87.6%, 20.8%)
CIE-LABlab(70.96, -2.39, 69.88)
CIE-LCHlch(70.96, 69.92, 91.96°)
OKLaboklab(74.89% -0.0153 0.1483)
OKLCHoklch(74.89% 0.149 95.9)
XYZxyz(39.2874, 42.1341, 6.9829)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAC19 #1937CA
analogous
#CA5419 #CAAC19 #8FCA19
triadic
#CAAC19 #19CAAC #AC19CA
tetradic
#CAAC19 #19CA54 #1937CA #CA198F
square
#CAAC19 #19CA54 #1937CA #CA198F
split-complementary
#CAAC19 #198FCA #5419CA
monochromatic
#5D4F0C #947E12 #CAAC19 #E7C93A #EDD870

Accessibility & contrast

On white

2.23
#CAAC19 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#CAAC19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAC19
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAC19#FFFFFF#000000##000000
##CAAC191.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C7B227
Tritanopia (blue-blind)
#DB9D93
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caac19;
/* rgb */ color: rgb(202, 172, 25);
/* oklch */ color: oklch(74.9% 0.149 95.9);
Tailwind
colors: {
  custom: {
    50: '#dfc468',
    500: '#caac19',
    950: '#000000',
  },
}
SCSS
$custom: #caac19;
$custom-light: #dfc468;
$custom-dark: #000000;
JSON
{
  "hex": "#caac19",
  "rgb": {
    "r": 202,
    "g": 172,
    "b": 25
  },
  "hsl": {
    "h": 49.831,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74894,
    "c": 0.14907,
    "h": 95.9
  },
  "luminance": 0.42132
}

Semantic roles & 50–950 ramp

primary
#CAAC19
secondary
#6B7DD4
accent
#54F433
background
#FEFBF6
surface
#FDF7EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CAAC19

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

Preview Lab → · Contrast checker → · Palette generator →

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