#CAB149#CAB149

#CAB149 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.2% C 0.126 H 95.7°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CAB149
RGBrgb(202, 177, 73)
HSLhsl(48, 55%, 54%)
HSVhsv(48, 64%, 79%)
CMYKcmyk(0%, 12.4%, 63.9%, 20.8%)
CIE-LABlab(72.55, -3.02, 54.92)
CIE-LCHlch(72.55, 55.00, 93.15°)
OKLaboklab(76.24% -0.0125 0.1252)
OKLCHoklch(76.24% 0.126 95.7)
XYZxyz(41.2837, 44.4839, 12.7137)
Luminance0.4448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB149 #4962CA
analogous
#CA7149 #CAB149 #A3CA49
triadic
#CAB149 #49CAB1 #B149CA
tetradic
#CAB149 #49CA71 #4962CA #CA49A3
square
#CAB149 #49CA71 #4962CA #CA49A3
split-complementary
#CAB149 #49A3CA #7149CA
monochromatic
#766622 #A68F30 #CAB149 #D8C578 #E6DAA8

Accessibility & contrast

On white

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

On black

9.90
#CAB149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB149
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB149#FFFFFF#000000##000000
##CAB1491.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3D
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#D9A49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab149;
/* rgb */ color: rgb(202, 177, 73);
/* oklch */ color: oklch(76.2% 0.126 95.7);
Tailwind
colors: {
  custom: {
    50: '#ddc880',
    500: '#cab149',
    950: '#000000',
  },
}
SCSS
$custom: #cab149;
$custom-light: #ddc880;
$custom-dark: #000000;
JSON
{
  "hex": "#cab149",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 48.372,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76238,
    "c": 0.1258,
    "h": 95.7
  },
  "luminance": 0.44482
}

Semantic roles & 50–950 ramp

primary
#CAB149
secondary
#9CA7D3
accent
#66DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB149

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

Preview Lab → · Contrast checker → · Palette generator →

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