#CAB03E#CAB03E

#CAB03E is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.133 H 96.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CAB03E
RGBrgb(202, 176, 62)
HSLhsl(49, 57%, 52%)
HSVhsv(49, 69%, 79%)
CMYKcmyk(0%, 12.9%, 69.3%, 20.8%)
CIE-LABlab(72.20, -3.14, 59.22)
CIE-LCHlch(72.20, 59.30, 93.03°)
OKLaboklab(75.93% -0.0141 0.1325)
OKLCHoklch(75.93% 0.133 96.1)
XYZxyz(40.7539, 43.9571, 10.8944)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB03E #3E58CA
analogous
#CA6A3E #CAB03E #9ECA3E
triadic
#CAB03E #3ECAB0 #B03ECA
tetradic
#CAB03E #3ECA6A #3E58CA #CA3E9E
square
#CAB03E #3ECA6A #3E58CA #CA3E9E
split-complementary
#CAB03E #3E9ECA #6A3ECA
monochromatic
#6F601F #9F8A2C #CAB03E #D7C46E #E4D79E

Accessibility & contrast

On white

2.14
#CAB03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CAB03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB03E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB03E#FFFFFF#000000##000000
##CAB03E1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2E
Deuteranopia (green-blind)
#C8B544
Tritanopia (blue-blind)
#DAA399
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab03e;
/* rgb */ color: rgb(202, 176, 62);
/* oklch */ color: oklch(75.9% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#dec77a',
    500: '#cab03e',
    950: '#000000',
  },
}
SCSS
$custom: #cab03e;
$custom-light: #dec77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab03e",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 48.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75932,
    "c": 0.13326,
    "h": 96.1
  },
  "luminance": 0.43955
}

Semantic roles & 50–950 ramp

primary
#CAB03E
secondary
#939FD1
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB03E

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

Preview Lab → · Contrast checker → · Palette generator →

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