#CAA219#CAA219

#CAA219 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.8% C 0.144 H 90.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CAA219
RGBrgb(202, 162, 25)
HSLhsl(46, 78%, 45%)
HSVhsv(46, 88%, 79%)
CMYKcmyk(0%, 19.8%, 87.6%, 20.8%)
CIE-LABlab(68.37, 2.93, 67.81)
CIE-LCHlch(68.37, 67.87, 87.53°)
OKLaboklab(72.84% -0.0003 0.1436)
OKLCHoklch(72.84% 0.144 90.1)
XYZxyz(37.4553, 38.4700, 6.3722)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA219 #1941CA
analogous
#CA4A19 #CAA219 #99CA19
triadic
#CAA219 #19CAA2 #A219CA
tetradic
#CAA219 #19CA4A #1941CA #CA1999
square
#CAA219 #19CA4A #1941CA #CA1999
split-complementary
#CAA219 #1999CA #4A19CA
monochromatic
#5D4B0C #947612 #CAA219 #E7BF3A #EDD170

Accessibility & contrast

On white

2.42
#CAA219 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CAA219 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA219
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA219#FFFFFF#000000##000000
##CAA2191.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#C0AB24
Tritanopia (blue-blind)
#DC938A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #caa219;
/* rgb */ color: rgb(202, 162, 25);
/* oklch */ color: oklch(72.8% 0.144 90.1);
Tailwind
colors: {
  custom: {
    50: '#dfbd67',
    500: '#caa219',
    950: '#000000',
  },
}
SCSS
$custom: #caa219;
$custom-light: #dfbd67;
$custom-dark: #000000;
JSON
{
  "hex": "#caa219",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 25
  },
  "hsl": {
    "h": 46.441,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72842,
    "c": 0.14363,
    "h": 90.1
  },
  "luminance": 0.38467
}

Semantic roles & 50–950 ramp

primary
#CAA219
secondary
#6B83D4
accent
#5FF433
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA219

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

Preview Lab → · Contrast checker → · Palette generator →

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