#BAB154#BAB154

#BAB154 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.115 H 103.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#BAB154
RGBrgb(186, 177, 84)
HSLhsl(55, 43%, 53%)
HSVhsv(55, 55%, 73%)
CMYKcmyk(0%, 4.8%, 54.8%, 27.1%)
CIE-LABlab(71.23, -9.04, 48.00)
CIE-LCHlch(71.23, 48.84, 100.66°)
OKLaboklab(74.89% -0.0275 0.1122)
OKLCHoklch(74.89% 0.115 103.8)
XYZxyz(37.5732, 42.5247, 14.6147)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB154 #545DBA
analogous
#BA7E54 #BAB154 #90BA54
triadic
#BAB154 #54BAB1 #B154BA
tetradic
#BAB154 #54BA7E #545DBA #BA5490
square
#BAB154 #54BA7E #545DBA #BA5490
split-complementary
#BAB154 #5490BA #7E54BA
monochromatic
#69642A #958D3C #BAB154 #CCC580 #DDD9AB

Accessibility & contrast

On white

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

On black

9.50
#BAB154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB154
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB154#FFFFFF#000000##000000
##BAB1541.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4B
Deuteranopia (green-blind)
#C2B159
Tritanopia (blue-blind)
#C6A69C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab154;
/* rgb */ color: rgb(186, 177, 84);
/* oklch */ color: oklch(74.9% 0.115 103.8);
Tailwind
colors: {
  custom: {
    50: '#d1c887',
    500: '#bab154',
    950: '#000000',
  },
}
SCSS
$custom: #bab154;
$custom-light: #d1c887;
$custom-dark: #000000;
JSON
{
  "hex": "#bab154",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 54.706,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74887,
    "c": 0.11548,
    "h": 103.8
  },
  "luminance": 0.42523
}

Semantic roles & 50–950 ramp

primary
#BAB154
secondary
#9FA3CB
accent
#61D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB154

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

Preview Lab → · Contrast checker → · Palette generator →

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