#CAA815#CAA815

#CAA815 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.1% C 0.148 H 93.8°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CAA815
RGBrgb(202, 168, 21)
HSLhsl(49, 81%, 44%)
HSVhsv(49, 90%, 79%)
CMYKcmyk(0%, 16.8%, 89.6%, 20.8%)
CIE-LABlab(69.91, -0.35, 69.86)
CIE-LCHlch(69.91, 69.86, 90.29°)
OKLaboklab(74.06% -0.0098 0.1475)
OKLCHoklch(74.06% 0.148 93.8)
XYZxyz(38.4975, 40.6184, 6.5218)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA815 #1537CA
analogous
#CA4D15 #CAA815 #91CA15
triadic
#CAA815 #15CAA8 #A815CA
tetradic
#CAA815 #15CA4D #1537CA #CA1591
square
#CAA815 #15CA4D #1537CA #CA1591
split-complementary
#CAA815 #1591CA #4D15CA
monochromatic
#5B4C09 #937A0F #CAA815 #EAC732 #EFD66A

Accessibility & contrast

On white

2.30
#CAA815 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#CAA815 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA815
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA815#FFFFFF#000000##000000
##CAA8151.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#C4AF23
Tritanopia (blue-blind)
#DB998F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa815;
/* rgb */ color: rgb(202, 168, 21);
/* oklch */ color: oklch(74.1% 0.148 93.8);
Tailwind
colors: {
  custom: {
    50: '#dfc167',
    500: '#caa815',
    950: '#000000',
  },
}
SCSS
$custom: #caa815;
$custom-light: #dfc167;
$custom-dark: #000000;
JSON
{
  "hex": "#caa815",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 21
  },
  "hsl": {
    "h": 48.729,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74056,
    "c": 0.14786,
    "h": 93.8
  },
  "luminance": 0.40616
}

Semantic roles & 50–950 ramp

primary
#CAA815
secondary
#667BD5
accent
#56F830
background
#FEFBF6
surface
#FDF7EB
border
#D5D0C6
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA815

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

Preview Lab → · Contrast checker → · Palette generator →

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