#CAA315#CAA315

#CAA315 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.145 H 90.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CAA315
RGBrgb(202, 163, 21)
HSLhsl(47, 81%, 44%)
HSVhsv(47, 90%, 79%)
CMYKcmyk(0%, 19.3%, 89.6%, 20.8%)
CIE-LABlab(68.61, 2.31, 68.86)
CIE-LCHlch(68.61, 68.89, 88.08°)
OKLaboklab(73.03% -0.0023 0.1453)
OKLCHoklch(73.03% 0.145 90.9)
XYZxyz(37.5921, 38.8076, 6.2200)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA315 #153CCA
analogous
#CA4815 #CAA315 #96CA15
triadic
#CAA315 #15CAA3 #A315CA
tetradic
#CAA315 #15CA48 #153CCA #CA1596
square
#CAA315 #15CA48 #153CCA #CA1596
split-complementary
#CAA315 #1596CA #4815CA
monochromatic
#5B4A09 #93760F #CAA315 #EAC232 #EFD36A

Accessibility & contrast

On white

2.40
#CAA315 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CAA315 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA315
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA315#FFFFFF#000000##000000
##CAA3151.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#C1AC22
Tritanopia (blue-blind)
#DC948B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #caa315;
/* rgb */ color: rgb(202, 163, 21);
/* oklch */ color: oklch(73.0% 0.145 90.9);
Tailwind
colors: {
  custom: {
    50: '#dfbd66',
    500: '#caa315',
    950: '#000000',
  },
}
SCSS
$custom: #caa315;
$custom-light: #dfbd66;
$custom-dark: #000000;
JSON
{
  "hex": "#caa315",
  "rgb": {
    "r": 202,
    "g": 163,
    "b": 21
  },
  "hsl": {
    "h": 47.072,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73033,
    "c": 0.14527,
    "h": 90.9
  },
  "luminance": 0.38805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAA315

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

Preview Lab → · Contrast checker → · Palette generator →

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