#CAAB36#CAAB36

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

Color values

HEX#CAAB36
RGBrgb(202, 171, 54)
HSLhsl(47, 58%, 50%)
HSVhsv(47, 73%, 79%)
CMYKcmyk(0%, 15.3%, 73.3%, 20.8%)
CIE-LABlab(70.84, -0.89, 61.01)
CIE-LCHlch(70.84, 61.02, 90.84°)
OKLaboklab(74.84% -0.0086 0.1348)
OKLCHoklch(74.84% 0.135 93.7)
XYZxyz(39.5880, 41.9510, 9.5015)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB36 #3655CA
analogous
#CA6136 #CAAB36 #9FCA36
triadic
#CAAB36 #36CAAB #AB36CA
tetradic
#CAAB36 #36CA61 #3655CA #CA369F
square
#CAAB36 #36CA61 #3655CA #CA369F
split-complementary
#CAAB36 #369FCA #6136CA
monochromatic
#6A591C #9A8229 #CAAB36 #D7BF66 #E4D397

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAB36#FFFFFF#000000##000000
##CAAB361.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)
#BDA823
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#DA9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caab36;
/* rgb */ color: rgb(202, 171, 54);
/* oklch */ color: oklch(74.8% 0.135 93.7);
Tailwind
colors: {
  custom: {
    50: '#dec375',
    500: '#caab36',
    950: '#000000',
  },
}
SCSS
$custom: #caab36;
$custom-light: #dec375;
$custom-dark: #000000;
JSON
{
  "hex": "#caab36",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 47.432,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74837,
    "c": 0.1351,
    "h": 93.7
  },
  "luminance": 0.41949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAAB36

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

Preview Lab → · Contrast checker → · Palette generator →

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