#CAA531#CAA531

#CAA531 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.6% C 0.135 H 90.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CAA531
RGBrgb(202, 165, 49)
HSLhsl(45, 61%, 49%)
HSVhsv(45, 76%, 79%)
CMYKcmyk(0%, 18.3%, 75.7%, 20.8%)
CIE-LABlab(69.25, 2.08, 61.35)
CIE-LCHlch(69.25, 61.39, 88.06°)
OKLaboklab(73.57% -0.0006 0.1346)
OKLCHoklch(73.57% 0.135 90.3)
XYZxyz(38.3689, 39.6910, 8.5454)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA531 #3156CA
analogous
#CA5931 #CAA531 #A3CA31
triadic
#CAA531 #31CAA5 #A531CA
tetradic
#CAA531 #31CA59 #3156CA #CA31A3
square
#CAA531 #31CA59 #3156CA #CA31A3
split-complementary
#CAA531 #31A3CA #5931CA
monochromatic
#675519 #997D25 #CAA531 #D8BB60 #E4D091

Accessibility & contrast

On white

2.35
#CAA531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CAA531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA531
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA531#FFFFFF#000000##000000
##CAA5311.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#DB978E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #caa531;
/* rgb */ color: rgb(202, 165, 49);
/* oklch */ color: oklch(73.6% 0.135 90.3);
Tailwind
colors: {
  custom: {
    50: '#dfbf72',
    500: '#caa531',
    950: '#000000',
  },
}
SCSS
$custom: #caa531;
$custom-light: #dfbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#caa531",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 45.49,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73573,
    "c": 0.13457,
    "h": 90.3
  },
  "luminance": 0.39689
}

Semantic roles & 50–950 ramp

primary
#CAA531
secondary
#8899CF
accent
#6BE444
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA531

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

Preview Lab → · Contrast checker → · Palette generator →

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