#BAB150#BAB150

#BAB150 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.8% C 0.119 H 104.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#BAB150
RGBrgb(186, 177, 80)
HSLhsl(55, 43%, 52%)
HSVhsv(55, 57%, 73%)
CMYKcmyk(0%, 4.8%, 57%, 27.1%)
CIE-LABlab(71.19, -9.35, 49.83)
CIE-LCHlch(71.19, 50.70, 100.63°)
OKLaboklab(74.84% -0.0288 0.1157)
OKLCHoklch(74.84% 0.119 104)
XYZxyz(37.4210, 42.4638, 13.8130)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB150 #5059BA
analogous
#BA7C50 #BAB150 #8EBA50
triadic
#BAB150 #50BAB1 #B150BA
tetradic
#BAB150 #50BA7C #5059BA #BA508E
square
#BAB150 #50BA7C #5059BA #BA508E
split-complementary
#BAB150 #508EBA #7C50BA
monochromatic
#676229 #938B3A #BAB150 #CBC57C #DDD8A8

Accessibility & contrast

On white

2.21
#BAB150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#BAB150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB150
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB150#FFFFFF#000000##000000
##BAB1501.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB46
Deuteranopia (green-blind)
#C2B155
Tritanopia (blue-blind)
#C7A69C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab150;
/* rgb */ color: rgb(186, 177, 80);
/* oklch */ color: oklch(74.8% 0.119 104.0);
Tailwind
colors: {
  custom: {
    50: '#d1c884',
    500: '#bab150',
    950: '#000000',
  },
}
SCSS
$custom: #bab150;
$custom-light: #d1c884;
$custom-dark: #000000;
JSON
{
  "hex": "#bab150",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 54.906,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74841,
    "c": 0.11919,
    "h": 104
  },
  "luminance": 0.42463
}

Semantic roles & 50–950 ramp

primary
#BAB150
secondary
#9CA0CA
accent
#5FD355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB150

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

Preview Lab → · Contrast checker → · Palette generator →

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