#CAB150#CAB150

#CAB150 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.120 H 94.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CAB150
RGBrgb(202, 177, 80)
HSLhsl(48, 54%, 55%)
HSVhsv(48, 60%, 79%)
CMYKcmyk(0%, 12.4%, 60.4%, 20.8%)
CIE-LABlab(72.62, -2.56, 51.83)
CIE-LCHlch(72.62, 51.89, 92.82°)
OKLaboklab(76.31% -0.0103 0.1196)
OKLCHoklch(76.31% 0.12 94.9)
XYZxyz(41.5290, 44.5820, 14.0056)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB150 #5069CA
analogous
#CA7450 #CAB150 #A6CA50
triadic
#CAB150 #50CAB1 #B150CA
tetradic
#CAB150 #50CA74 #5069CA #CA50A6
square
#CAB150 #50CA74 #5069CA #CA50A6
split-complementary
#CAB150 #50A6CA #7450CA
monochromatic
#7A6925 #A99133 #CAB150 #D8C67F #E6DBAE

Accessibility & contrast

On white

2.12
#CAB150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CAB150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB150
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB150#FFFFFF#000000##000000
##CAB1501.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE46
Deuteranopia (green-blind)
#C8B554
Tritanopia (blue-blind)
#D9A59C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab150;
/* rgb */ color: rgb(202, 177, 80);
/* oklch */ color: oklch(76.3% 0.120 94.9);
Tailwind
colors: {
  custom: {
    50: '#ddc885',
    500: '#cab150',
    950: '#000000',
  },
}
SCSS
$custom: #cab150;
$custom-light: #ddc885;
$custom-dark: #000000;
JSON
{
  "hex": "#cab150",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 47.705,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76311,
    "c": 0.12002,
    "h": 94.9
  },
  "luminance": 0.4458
}

Semantic roles & 50–950 ramp

primary
#CAB150
secondary
#A1ACD4
accent
#69DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB150

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

Preview Lab → · Contrast checker → · Palette generator →

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