#CAB03F#CAB03F

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

Color values

HEX#CAB03F
RGBrgb(202, 176, 63)
HSLhsl(49, 57%, 52%)
HSVhsv(49, 69%, 79%)
CMYKcmyk(0%, 12.9%, 68.8%, 20.8%)
CIE-LABlab(72.21, -3.08, 58.82)
CIE-LCHlch(72.21, 58.90, 93.00°)
OKLaboklab(75.94% -0.0139 0.1318)
OKLCHoklch(75.94% 0.133 96)
XYZxyz(40.7816, 43.9682, 11.0403)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB03F #3F59CA
analogous
#CA6B3F #CAB03F #9FCA3F
triadic
#CAB03F #3FCAB0 #B03FCA
tetradic
#CAB03F #3FCA6B #3F59CA #CA3F9F
square
#CAB03F #3FCA6B #3F59CA #CA3F9F
split-complementary
#CAB03F #3F9FCA #6B3FCA
monochromatic
#70611F #A08A2C #CAB03F #D7C46F #E4D79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB03F#FFFFFF#000000##000000
##CAB03F1.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)
#C2AC30
Deuteranopia (green-blind)
#C8B545
Tritanopia (blue-blind)
#DAA399
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab03f;
/* rgb */ color: rgb(202, 176, 63);
/* oklch */ color: oklch(75.9% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#dec77a',
    500: '#cab03f',
    950: '#000000',
  },
}
SCSS
$custom: #cab03f;
$custom-light: #dec77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab03f",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 48.777,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7594,
    "c": 0.13257,
    "h": 96
  },
  "luminance": 0.43966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB03F

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

Preview Lab → · Contrast checker → · Palette generator →

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