#CAB04A#CAB04A

#CAB04A is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.124 H 94.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CAB04A
RGBrgb(202, 176, 74)
HSLhsl(48, 55%, 54%)
HSVhsv(48, 63%, 79%)
CMYKcmyk(0%, 12.9%, 63.4%, 20.8%)
CIE-LABlab(72.30, -2.43, 54.20)
CIE-LCHlch(72.30, 54.26, 92.57°)
OKLaboklab(76.04% -0.0107 0.1238)
OKLCHoklch(76.04% 0.124 94.9)
XYZxyz(41.1204, 44.1037, 12.8242)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB04A #4A64CA
analogous
#CA704A #CAB04A #A4CA4A
triadic
#CAB04A #4ACAB0 #B04ACA
tetradic
#CAB04A #4ACA70 #4A64CA #CA4AA4
square
#CAB04A #4ACA70 #4A64CA #CA4AA4
split-complementary
#CAB04A #4AA4CA #704ACA
monochromatic
#776623 #A68E31 #CAB04A #D8C579 #E6D9A9

Accessibility & contrast

On white

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

On black

9.82
#CAB04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB04A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB04A#FFFFFF#000000##000000
##CAB04A1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3E
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#D9A39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab04a;
/* rgb */ color: rgb(202, 176, 74);
/* oklch */ color: oklch(76.0% 0.124 94.9);
Tailwind
colors: {
  custom: {
    50: '#ddc781',
    500: '#cab04a',
    950: '#000000',
  },
}
SCSS
$custom: #cab04a;
$custom-light: #ddc781;
$custom-dark: #000000;
JSON
{
  "hex": "#cab04a",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 47.813,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76041,
    "c": 0.12426,
    "h": 94.9
  },
  "luminance": 0.44102
}

Semantic roles & 50–950 ramp

primary
#CAB04A
secondary
#9DA8D3
accent
#68DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CAB04A

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

Preview Lab → · Contrast checker → · Palette generator →

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