#CAB33B#CAB33B

#CAB33B is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.5% C 0.137 H 98.1°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CAB33B
RGBrgb(202, 179, 59)
HSLhsl(50, 57%, 51%)
HSVhsv(50, 71%, 79%)
CMYKcmyk(0%, 11.4%, 70.8%, 20.8%)
CIE-LABlab(72.97, -4.87, 61.18)
CIE-LCHlch(72.97, 61.37, 94.55°)
OKLaboklab(76.53% -0.0194 0.1361)
OKLCHoklch(76.53% 0.137 98.1)
XYZxyz(41.2686, 45.1146, 10.6711)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB33B #3B52CA
analogous
#CA6B3B #CAB33B #99CA3B
triadic
#CAB33B #3BCAB3 #B33BCA
tetradic
#CAB33B #3BCA6B #3B52CA #CA3B99
square
#CAB33B #3BCA6B #3B52CA #CA3B99
split-complementary
#CAB33B #3B99CA #6B3BCA
monochromatic
#6D601E #9D8B2B #CAB33B #D7C66B #E4D89B

Accessibility & contrast

On white

2.10
#CAB33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#CAB33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB33B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB33B#FFFFFF#000000##000000
##CAB33B1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF29
Deuteranopia (green-blind)
#CBB642
Tritanopia (blue-blind)
#DAA69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab33b;
/* rgb */ color: rgb(202, 179, 59);
/* oklch */ color: oklch(76.5% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#dec978',
    500: '#cab33b',
    950: '#000000',
  },
}
SCSS
$custom: #cab33b;
$custom-light: #dec978;
$custom-dark: #000000;
JSON
{
  "hex": "#cab33b",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 50.35,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76533,
    "c": 0.13749,
    "h": 98.1
  },
  "luminance": 0.45113
}

Semantic roles & 50–950 ramp

primary
#CAB33B
secondary
#919BD0
accent
#60E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB33B

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

Preview Lab → · Contrast checker → · Palette generator →

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