#CAAA15#CAAA15

#CAAA15 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.149 H 94.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CAAA15
RGBrgb(202, 170, 21)
HSLhsl(49, 81%, 44%)
HSVhsv(49, 90%, 79%)
CMYKcmyk(0%, 15.8%, 89.6%, 20.8%)
CIE-LABlab(70.43, -1.41, 70.27)
CIE-LCHlch(70.43, 70.28, 91.15°)
OKLaboklab(74.47% -0.0128 0.1485)
OKLCHoklch(74.47% 0.149 94.9)
XYZxyz(38.8695, 41.3625, 6.6458)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA15 #1535CA
analogous
#CA4F15 #CAAA15 #8FCA15
triadic
#CAAA15 #15CAAA #AA15CA
tetradic
#CAAA15 #15CA4F #1535CA #CA158F
square
#CAAA15 #15CA4F #1535CA #CA158F
split-complementary
#CAAA15 #158FCA #4F15CA
monochromatic
#5B4D09 #937B0F #CAAA15 #EAC932 #EFD86A

Accessibility & contrast

On white

2.26
#CAAA15 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CAAA15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA15
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA15#FFFFFF#000000##000000
##CAAA151.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#C5B024
Tritanopia (blue-blind)
#DB9B91
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #caaa15;
/* rgb */ color: rgb(202, 170, 21);
/* oklch */ color: oklch(74.5% 0.149 94.9);
Tailwind
colors: {
  custom: {
    50: '#dfc267',
    500: '#caaa15',
    950: '#000000',
  },
}
SCSS
$custom: #caaa15;
$custom-light: #dfc267;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa15",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 21
  },
  "hsl": {
    "h": 49.392,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74468,
    "c": 0.149,
    "h": 94.9
  },
  "luminance": 0.4136
}

Semantic roles & 50–950 ramp

primary
#CAAA15
secondary
#667AD5
accent
#53F830
background
#FEFBF6
surface
#FDF7EB
border
#D5D0C6
text
#161207
muted
#84817A

Preview Lab

Preview with #CAAA15

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

Preview Lab → · Contrast checker → · Palette generator →

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