#CAB33E#CAB33E

#CAB33E is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.135 H 97.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CAB33E
RGBrgb(202, 179, 62)
HSLhsl(50, 57%, 52%)
HSVhsv(50, 69%, 79%)
CMYKcmyk(0%, 11.4%, 69.3%, 20.8%)
CIE-LABlab(72.99, -4.71, 60.02)
CIE-LCHlch(72.99, 60.20, 94.49°)
OKLaboklab(76.56% -0.0186 0.1342)
OKLCHoklch(76.56% 0.135 97.9)
XYZxyz(41.3487, 45.1466, 11.0927)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB33E #3E55CA
analogous
#CA6D3E #CAB33E #9BCA3E
triadic
#CAB33E #3ECAB3 #B33ECA
tetradic
#CAB33E #3ECA6D #3E55CA #CA3E9B
square
#CAB33E #3ECA6D #3E55CA #CA3E9B
split-complementary
#CAB33E #3E9BCA #6D3ECA
monochromatic
#6F621F #9F8C2C #CAB33E #D7C66E #E4D99E

Accessibility & contrast

On white

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

On black

10.03
#CAB33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB33E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB33E#FFFFFF#000000##000000
##CAB33E1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab33e;
/* rgb */ color: rgb(202, 179, 62);
/* oklch */ color: oklch(76.6% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#dec97a',
    500: '#cab33e',
    950: '#000000',
  },
}
SCSS
$custom: #cab33e;
$custom-light: #dec97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab33e",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 50.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76556,
    "c": 0.13549,
    "h": 97.9
  },
  "luminance": 0.45145
}

Semantic roles & 50–950 ramp

primary
#CAB33E
secondary
#939DD1
accent
#61E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB33E

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

Preview Lab → · Contrast checker → · Palette generator →

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