#CAB33C#CAB33C

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

Color values

HEX#CAB33C
RGBrgb(202, 179, 60)
HSLhsl(50, 57%, 51%)
HSVhsv(50, 70%, 79%)
CMYKcmyk(0%, 11.4%, 70.3%, 20.8%)
CIE-LABlab(72.97, -4.81, 60.80)
CIE-LCHlch(72.97, 60.99, 94.53°)
OKLaboklab(76.54% -0.0191 0.1355)
OKLCHoklch(76.54% 0.137 98)
XYZxyz(41.2948, 45.1250, 10.8090)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB33C #3C53CA
analogous
#CA6C3C #CAB33C #9ACA3C
triadic
#CAB33C #3CCAB3 #B33CCA
tetradic
#CAB33C #3CCA6C #3C53CA #CA3C9A
square
#CAB33C #3CCA6C #3C53CA #CA3C9A
split-complementary
#CAB33C #3C9ACA #6C3CCA
monochromatic
#6E611E #9E8B2B #CAB33C #D7C66C #E4D99C

Accessibility & contrast

On white

2.09
#CAB33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB33C#FFFFFF#000000##000000
##CAB33C1.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab33c;
/* rgb */ color: rgb(202, 179, 60);
/* oklch */ color: oklch(76.5% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#dec979',
    500: '#cab33c',
    950: '#000000',
  },
}
SCSS
$custom: #cab33c;
$custom-light: #dec979;
$custom-dark: #000000;
JSON
{
  "hex": "#cab33c",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 50.282,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.13683,
    "h": 98
  },
  "luminance": 0.45123
}

Semantic roles & 50–950 ramp

primary
#CAB33C
secondary
#929CD0
accent
#60E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB33C

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

Preview Lab → · Contrast checker → · Palette generator →

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