#CAA415#CAA415

#CAA415 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.2% C 0.146 H 91.5°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CAA415
RGBrgb(202, 164, 21)
HSLhsl(47, 81%, 44%)
HSVhsv(47, 90%, 79%)
CMYKcmyk(0%, 18.8%, 89.6%, 20.8%)
CIE-LABlab(68.87, 1.78, 69.06)
CIE-LCHlch(68.87, 69.08, 88.52°)
OKLaboklab(73.24% -0.0038 0.1457)
OKLCHoklch(73.24% 0.146 91.5)
XYZxyz(37.7703, 39.1641, 6.2794)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA415 #153BCA
analogous
#CA4915 #CAA415 #95CA15
triadic
#CAA415 #15CAA4 #A415CA
tetradic
#CAA415 #15CA49 #153BCA #CA1595
square
#CAA415 #15CA49 #153BCA #CA1595
split-complementary
#CAA415 #1595CA #4915CA
monochromatic
#5B4A09 #93770F #CAA415 #EAC332 #EFD36A

Accessibility & contrast

On white

2.38
#CAA415 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CAA415 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA415
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA415#FFFFFF#000000##000000
##CAA4151.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#C1AD22
Tritanopia (blue-blind)
#DB958C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #caa415;
/* rgb */ color: rgb(202, 164, 21);
/* oklch */ color: oklch(73.2% 0.146 91.5);
Tailwind
colors: {
  custom: {
    50: '#dfbe66',
    500: '#caa415',
    950: '#000000',
  },
}
SCSS
$custom: #caa415;
$custom-light: #dfbe66;
$custom-dark: #000000;
JSON
{
  "hex": "#caa415",
  "rgb": {
    "r": 202,
    "g": 164,
    "b": 21
  },
  "hsl": {
    "h": 47.403,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73236,
    "c": 0.14575,
    "h": 91.5
  },
  "luminance": 0.39162
}

Semantic roles & 50–950 ramp

primary
#CAA415
secondary
#667DD5
accent
#5AF830
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA415

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

Preview Lab → · Contrast checker → · Palette generator →

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