#CAB032#CAB032

#CAB032 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.8% C 0.141 H 97.0°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CAB032
RGBrgb(202, 176, 50)
HSLhsl(50, 60%, 49%)
HSVhsv(50, 75%, 79%)
CMYKcmyk(0%, 12.9%, 75.2%, 20.8%)
CIE-LABlab(72.12, -3.71, 63.70)
CIE-LCHlch(72.12, 63.81, 93.33°)
OKLaboklab(75.85% -0.017 0.1398)
OKLCHoklch(75.85% 0.141 97)
XYZxyz(40.4603, 43.8397, 9.3478)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB032 #324CCA
analogous
#CA6432 #CAB032 #98CA32
triadic
#CAB032 #32CAB0 #B032CA
tetradic
#CAB032 #32CA64 #324CCA #CA3298
square
#CAB032 #32CA64 #324CCA #CA3298
split-complementary
#CAB032 #3298CA #6432CA
monochromatic
#685B1A #998526 #CAB032 #D8C461 #E4D692

Accessibility & contrast

On white

2.15
#CAB032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#CAB032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB032
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB032#FFFFFF#000000##000000
##CAB0321.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1A
Deuteranopia (green-blind)
#C9B43A
Tritanopia (blue-blind)
#DAA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab032;
/* rgb */ color: rgb(202, 176, 50);
/* oklch */ color: oklch(75.8% 0.141 97.0);
Tailwind
colors: {
  custom: {
    50: '#dec773',
    500: '#cab032',
    950: '#000000',
  },
}
SCSS
$custom: #cab032;
$custom-light: #dec773;
$custom-dark: #000000;
JSON
{
  "hex": "#cab032",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 50
  },
  "hsl": {
    "h": 49.737,
    "s": 60.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75845,
    "c": 0.14081,
    "h": 97
  },
  "luminance": 0.43838
}

Semantic roles & 50–950 ramp

primary
#CAB032
secondary
#8995CF
accent
#60E344
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB032

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

Preview Lab → · Contrast checker → · Palette generator →

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