#CAA015#CAA015

#CAA015 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.4% C 0.144 H 89.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CAA015
RGBrgb(202, 160, 21)
HSLhsl(46, 81%, 44%)
HSVhsv(46, 90%, 79%)
CMYKcmyk(0%, 20.8%, 89.6%, 20.8%)
CIE-LABlab(67.84, 3.92, 68.26)
CIE-LCHlch(67.84, 68.37, 86.71°)
OKLaboklab(72.42% 0.0022 0.1439)
OKLCHoklch(72.42% 0.144 89.1)
XYZxyz(37.0657, 37.7549, 6.0445)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA015 #153FCA
analogous
#CA4515 #CAA015 #99CA15
triadic
#CAA015 #15CAA0 #A015CA
tetradic
#CAA015 #15CA45 #153FCA #CA1599
square
#CAA015 #15CA45 #153FCA #CA1599
split-complementary
#CAA015 #1599CA #4515CA
monochromatic
#5B4809 #93740F #CAA015 #EABF32 #EFD06A

Accessibility & contrast

On white

2.46
#CAA015 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#CAA015 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA015
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA015#FFFFFF#000000##000000
##CAA0151.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#BEAA21
Tritanopia (blue-blind)
#DC9188
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #caa015;
/* rgb */ color: rgb(202, 160, 21);
/* oklch */ color: oklch(72.4% 0.144 89.1);
Tailwind
colors: {
  custom: {
    50: '#e0bb65',
    500: '#caa015',
    950: '#000000',
  },
}
SCSS
$custom: #caa015;
$custom-light: #e0bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#caa015",
  "rgb": {
    "r": 202,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 46.077,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.1439,
    "h": 89.1
  },
  "luminance": 0.37752
}

Semantic roles & 50–950 ramp

primary
#CAA015
secondary
#6680D5
accent
#5EF830
background
#FEFBF6
surface
#FDF6EB
border
#D5D0C6
text
#161107
muted
#84807A

Preview Lab

Preview with #CAA015

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

Preview Lab → · Contrast checker → · Palette generator →

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