#CAB533#CAB533

#CAB533 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.9% C 0.144 H 99.7°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CAB533
RGBrgb(202, 181, 51)
HSLhsl(52, 60%, 50%)
HSVhsv(52, 75%, 79%)
CMYKcmyk(0%, 10.4%, 74.8%, 20.8%)
CIE-LABlab(73.44, -6.28, 64.60)
CIE-LCHlch(73.44, 64.90, 95.55°)
OKLaboklab(76.9% -0.0242 0.1419)
OKLCHoklch(76.9% 0.144 99.7)
XYZxyz(41.4806, 45.8453, 9.7954)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB533 #3348CA
analogous
#CA6A33 #CAB533 #93CA33
triadic
#CAB533 #33CAB5 #B533CA
tetradic
#CAB533 #33CA6A #3348CA #CA3393
square
#CAB533 #33CA6A #3348CA #CA3393
split-complementary
#CAB533 #3393CA #6A33CA
monochromatic
#685D1A #998927 #CAB533 #D8C763 #E4D994

Accessibility & contrast

On white

2.07
#CAB533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CAB533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB533
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB533#FFFFFF#000000##000000
##CAB5331.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01A
Deuteranopia (green-blind)
#CCB83C
Tritanopia (blue-blind)
#DAA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab533;
/* rgb */ color: rgb(202, 181, 51);
/* oklch */ color: oklch(76.9% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#deca74',
    500: '#cab533',
    950: '#000000',
  },
}
SCSS
$custom: #cab533;
$custom-light: #deca74;
$custom-dark: #000000;
JSON
{
  "hex": "#cab533",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 51.656,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76896,
    "c": 0.14393,
    "h": 99.7
  },
  "luminance": 0.45843
}

Semantic roles & 50–950 ramp

primary
#CAB533
secondary
#8A93CF
accent
#5BE345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB533

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

Preview Lab → · Contrast checker → · Palette generator →

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