#CAA631#CAA631

#CAA631 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.8% C 0.135 H 90.9°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CAA631
RGBrgb(202, 166, 49)
HSLhsl(46, 61%, 49%)
HSVhsv(46, 76%, 79%)
CMYKcmyk(0%, 17.8%, 75.7%, 20.8%)
CIE-LABlab(69.51, 1.54, 61.60)
CIE-LCHlch(69.51, 61.62, 88.56°)
OKLaboklab(73.78% -0.0022 0.1351)
OKLCHoklch(73.78% 0.135 90.9)
XYZxyz(38.5499, 40.0532, 8.6057)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA631 #3155CA
analogous
#CA5931 #CAA631 #A2CA31
triadic
#CAA631 #31CAA6 #A631CA
tetradic
#CAA631 #31CA59 #3155CA #CA31A2
square
#CAA631 #31CA59 #3155CA #CA31A2
split-complementary
#CAA631 #31A2CA #5931CA
monochromatic
#675519 #997E25 #CAA631 #D8BC60 #E4D191

Accessibility & contrast

On white

2.33
#CAA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CAA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA631
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA631#FFFFFF#000000##000000
##CAA6311.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41C
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#DB988F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #caa631;
/* rgb */ color: rgb(202, 166, 49);
/* oklch */ color: oklch(73.8% 0.135 90.9);
Tailwind
colors: {
  custom: {
    50: '#dec072',
    500: '#caa631',
    950: '#000000',
  },
}
SCSS
$custom: #caa631;
$custom-light: #dec072;
$custom-dark: #000000;
JSON
{
  "hex": "#caa631",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 45.882,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73777,
    "c": 0.13511,
    "h": 90.9
  },
  "luminance": 0.40051
}

Semantic roles & 50–950 ramp

primary
#CAA631
secondary
#8899CF
accent
#69E444
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CAA631

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

Preview Lab → · Contrast checker → · Palette generator →

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