#CAA915#CAA915

#CAA915 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.148 H 94.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CAA915
RGBrgb(202, 169, 21)
HSLhsl(49, 81%, 44%)
HSVhsv(49, 90%, 79%)
CMYKcmyk(0%, 16.3%, 89.6%, 20.8%)
CIE-LABlab(70.17, -0.88, 70.07)
CIE-LCHlch(70.17, 70.07, 90.72°)
OKLaboklab(74.26% -0.0113 0.148)
OKLCHoklch(74.26% 0.148 94.4)
XYZxyz(38.6828, 40.9890, 6.5835)
Luminance0.4099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA915 #1536CA
analogous
#CA4E15 #CAA915 #90CA15
triadic
#CAA915 #15CAA9 #A915CA
tetradic
#CAA915 #15CA4E #1536CA #CA1590
square
#CAA915 #15CA4E #1536CA #CA1590
split-complementary
#CAA915 #1590CA #4E15CA
monochromatic
#5B4C09 #937B0F #CAA915 #EAC832 #EFD76A

Accessibility & contrast

On white

2.28
#CAA915 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CAA915 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA915
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA915#FFFFFF#000000##000000
##CAA9151.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#C5B024
Tritanopia (blue-blind)
#DB9A90
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa915;
/* rgb */ color: rgb(202, 169, 21);
/* oklch */ color: oklch(74.3% 0.148 94.4);
Tailwind
colors: {
  custom: {
    50: '#dfc267',
    500: '#caa915',
    950: '#000000',
  },
}
SCSS
$custom: #caa915;
$custom-light: #dfc267;
$custom-dark: #000000;
JSON
{
  "hex": "#caa915",
  "rgb": {
    "r": 202,
    "g": 169,
    "b": 21
  },
  "hsl": {
    "h": 49.061,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74262,
    "c": 0.14842,
    "h": 94.4
  },
  "luminance": 0.40987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAA915

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

Preview Lab → · Contrast checker → · Palette generator →

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