#CAA215#CAA215

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

Color values

HEX#CAA215
RGBrgb(202, 162, 21)
HSLhsl(47, 81%, 44%)
HSVhsv(47, 90%, 79%)
CMYKcmyk(0%, 19.8%, 89.6%, 20.8%)
CIE-LABlab(68.35, 2.85, 68.66)
CIE-LCHlch(68.35, 68.71, 87.62°)
OKLaboklab(72.83% -0.0008 0.1448)
OKLCHoklch(72.83% 0.145 90.3)
XYZxyz(37.4152, 38.4539, 6.1610)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA215 #153DCA
analogous
#CA4715 #CAA215 #97CA15
triadic
#CAA215 #15CAA2 #A215CA
tetradic
#CAA215 #15CA47 #153DCA #CA1597
square
#CAA215 #15CA47 #153DCA #CA1597
split-complementary
#CAA215 #1597CA #4715CA
monochromatic
#5B4909 #93760F #CAA215 #EAC132 #EFD26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA215#FFFFFF#000000##000000
##CAA2151.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)
#C0AB22
Tritanopia (blue-blind)
#DC938A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #caa215;
/* rgb */ color: rgb(202, 162, 21);
/* oklch */ color: oklch(72.8% 0.145 90.3);
Tailwind
colors: {
  custom: {
    50: '#dfbd66',
    500: '#caa215',
    950: '#000000',
  },
}
SCSS
$custom: #caa215;
$custom-light: #dfbd66;
$custom-dark: #000000;
JSON
{
  "hex": "#caa215",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 21
  },
  "hsl": {
    "h": 46.74,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72829,
    "c": 0.14479,
    "h": 90.3
  },
  "luminance": 0.38451
}

Semantic roles & 50–950 ramp

primary
#CAA215
secondary
#667ED5
accent
#5CF830
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161207
muted
#84817A

Preview Lab

Preview with #CAA215

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

Preview Lab → · Contrast checker → · Palette generator →

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