#CAB050#CAB050

#CAB050 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.119 H 94.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CAB050
RGBrgb(202, 176, 80)
HSLhsl(47, 54%, 55%)
HSVhsv(47, 60%, 79%)
CMYKcmyk(0%, 12.9%, 60.4%, 20.8%)
CIE-LABlab(72.35, -2.03, 51.53)
CIE-LCHlch(72.35, 51.57, 92.25°)
OKLaboklab(76.1% -0.0088 0.1189)
OKLCHoklch(76.1% 0.119 94.2)
XYZxyz(41.3322, 44.1884, 13.9400)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB050 #506ACA
analogous
#CA7350 #CAB050 #A7CA50
triadic
#CAB050 #50CAB0 #B050CA
tetradic
#CAB050 #50CA73 #506ACA #CA50A7
square
#CAB050 #50CA73 #506ACA #CA50A7
split-complementary
#CAB050 #50A7CA #7350CA
monochromatic
#7A6825 #A99033 #CAB050 #D8C57F #E6DAAE

Accessibility & contrast

On white

2.13
#CAB050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CAB050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB050
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB050#FFFFFF#000000##000000
##CAB0501.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD46
Deuteranopia (green-blind)
#C7B554
Tritanopia (blue-blind)
#D9A49B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab050;
/* rgb */ color: rgb(202, 176, 80);
/* oklch */ color: oklch(76.1% 0.119 94.2);
Tailwind
colors: {
  custom: {
    50: '#ddc784',
    500: '#cab050',
    950: '#000000',
  },
}
SCSS
$custom: #cab050;
$custom-light: #ddc784;
$custom-dark: #000000;
JSON
{
  "hex": "#cab050",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 47.213,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76104,
    "c": 0.11927,
    "h": 94.2
  },
  "luminance": 0.44186
}

Semantic roles & 50–950 ramp

primary
#CAB050
secondary
#A1ACD4
accent
#6ADD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB050

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

Preview Lab → · Contrast checker → · Palette generator →

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