#BAB577#BAB577

#BAB577 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.082 H 104.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#BAB577
RGBrgb(186, 181, 119)
HSLhsl(56, 33%, 60%)
HSVhsv(56, 36%, 73%)
CMYKcmyk(0%, 2.7%, 36%, 27.1%)
CIE-LABlab(72.77, -7.62, 32.26)
CIE-LCHlch(72.77, 33.15, 103.29°)
OKLaboklab(76.26% -0.0201 0.0795)
OKLCHoklch(76.26% 0.082 104.2)
XYZxyz(40.1039, 44.8197, 23.9877)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB577 #777CBA
analogous
#BA9377 #BAB577 #9EBA77
triadic
#BAB577 #77BAB5 #B577BA
tetradic
#BAB577 #77BA93 #777CBA #BA779E
square
#BAB577 #77BA93 #777CBA #BA779E
split-complementary
#BAB577 #779EBA #9377BA
monochromatic
#79753D #A29C52 #BAB577 #CFCBA0 #E3E1C8

Accessibility & contrast

On white

2.11
#BAB577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#BAB577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB577
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB577#FFFFFF#000000##000000
##BAB5771.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB173
Deuteranopia (green-blind)
#C1B479
Tritanopia (blue-blind)
#C3ADA5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab577;
/* rgb */ color: rgb(186, 181, 119);
/* oklch */ color: oklch(76.3% 0.082 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0cb9f',
    500: '#bab577',
    950: '#000000',
  },
}
SCSS
$custom: #bab577;
$custom-light: #d0cb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab577",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 119
  },
  "hsl": {
    "h": 55.522,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.76262,
    "c": 0.08203,
    "h": 104.2
  },
  "luminance": 0.44819
}

Semantic roles & 50–950 ramp

primary
#BAB577
secondary
#B9BBD3
accent
#67C95F
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BAB577

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

Preview Lab → · Contrast checker → · Palette generator →

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