#CAA431#CAA431

#CAA431 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.4% C 0.134 H 89.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CAA431
RGBrgb(202, 164, 49)
HSLhsl(45, 61%, 49%)
HSVhsv(45, 76%, 79%)
CMYKcmyk(0%, 18.8%, 75.7%, 20.8%)
CIE-LABlab(68.99, 2.61, 61.11)
CIE-LCHlch(68.99, 61.16, 87.55°)
OKLaboklab(73.37% 0.0009 0.1341)
OKLCHoklch(73.37% 0.134 89.6)
XYZxyz(38.1892, 39.3317, 8.4855)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA431 #3157CA
analogous
#CA5831 #CAA431 #A4CA31
triadic
#CAA431 #31CAA4 #A431CA
tetradic
#CAA431 #31CA58 #3157CA #CA31A4
square
#CAA431 #31CA58 #3157CA #CA31A4
split-complementary
#CAA431 #31A4CA #5831CA
monochromatic
#675419 #997C25 #CAA431 #D8BA60 #E4D091

Accessibility & contrast

On white

2.37
#CAA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CAA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA431
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA431#FFFFFF#000000##000000
##CAA4311.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21D
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#DB968E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #caa431;
/* rgb */ color: rgb(202, 164, 49);
/* oklch */ color: oklch(73.4% 0.134 89.6);
Tailwind
colors: {
  custom: {
    50: '#dfbe71',
    500: '#caa431',
    950: '#000000',
  },
}
SCSS
$custom: #caa431;
$custom-light: #dfbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#caa431",
  "rgb": {
    "r": 202,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 45.098,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7337,
    "c": 0.13405,
    "h": 89.6
  },
  "luminance": 0.39329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAA431

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

Preview Lab → · Contrast checker → · Palette generator →

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