#CAAB37#CAAB37

#CAAB37 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.8% C 0.134 H 93.6°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#CAAB37
RGBrgb(202, 171, 55)
HSLhsl(47, 58%, 50%)
HSVhsv(47, 73%, 79%)
CMYKcmyk(0%, 15.3%, 72.8%, 20.8%)
CIE-LABlab(70.84, -0.85, 60.63)
CIE-LCHlch(70.84, 60.64, 90.80°)
OKLaboklab(74.84% -0.0084 0.1342)
OKLCHoklch(74.84% 0.134 93.6)
XYZxyz(39.6117, 41.9605, 9.6265)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB37 #3756CA
analogous
#CA6137 #CAAB37 #9FCA37
triadic
#CAAB37 #37CAAB #AB37CA
tetradic
#CAAB37 #37CA61 #3756CA #CA379F
square
#CAAB37 #37CA61 #3756CA #CA379F
split-complementary
#CAAB37 #379FCA #6137CA
monochromatic
#6A5A1C #9B8329 #CAAB37 #D7BF67 #E4D498

Accessibility & contrast

On white

2.24
#CAAB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#CAAB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB37
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB37#FFFFFF#000000##000000
##CAAB371.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#DA9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caab37;
/* rgb */ color: rgb(202, 171, 55);
/* oklch */ color: oklch(74.8% 0.134 93.6);
Tailwind
colors: {
  custom: {
    50: '#dec375',
    500: '#caab37',
    950: '#000000',
  },
}
SCSS
$custom: #caab37;
$custom-light: #dec375;
$custom-dark: #000000;
JSON
{
  "hex": "#caab37",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 47.347,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74844,
    "c": 0.13448,
    "h": 93.6
  },
  "luminance": 0.41958
}

Semantic roles & 50–950 ramp

primary
#CAAB37
secondary
#8E9BCF
accent
#67E146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAB37

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

Preview Lab → · Contrast checker → · Palette generator →

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