#BABA76#BABA76

#BABA76 is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.3% C 0.089 H 108.3°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#BABA76
RGBrgb(186, 186, 118)
HSLhsl(60, 33%, 60%)
HSVhsv(60, 37%, 73%)
CMYKcmyk(0%, 0%, 36.6%, 27.1%)
CIE-LABlab(74.10, -10.34, 34.51)
CIE-LCHlch(74.10, 36.03, 106.69°)
OKLaboklab(77.31% -0.028 0.0847)
OKLCHoklch(77.31% 0.089 108.3)
XYZxyz(41.0791, 46.8657, 24.0180)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA76 #7676BA
analogous
#BA9876 #BABA76 #98BA76
triadic
#BABA76 #76BABA #BA76BA
tetradic
#BABA76 #76BA98 #7676BA #BA7698
square
#BABA76 #76BA98 #7676BA #BA7698
split-complementary
#BABA76 #7698BA #9876BA
monochromatic
#79793D #A1A151 #BABA76 #CECE9F #E3E3C7

Accessibility & contrast

On white

2.02
#BABA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#BABA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA76
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA76#FFFFFF#000000##000000
##BABA761.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B571
Deuteranopia (green-blind)
#C6B779
Tritanopia (blue-blind)
#C3B2A9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baba76;
/* rgb */ color: rgb(186, 186, 118);
/* oklch */ color: oklch(77.3% 0.089 108.3);
Tailwind
colors: {
  custom: {
    50: '#d0ce9e',
    500: '#baba76',
    950: '#000000',
  },
}
SCSS
$custom: #baba76;
$custom-light: #d0ce9e;
$custom-dark: #000000;
JSON
{
  "hex": "#baba76",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 118
  },
  "hsl": {
    "h": 60,
    "s": 33.01,
    "l": 59.608
  },
  "oklch": {
    "l": 0.77313,
    "c": 0.08917,
    "h": 108.3
  },
  "luminance": 0.46865
}

Semantic roles & 50–950 ramp

primary
#BABA76
secondary
#B9B9D3
accent
#5FC95F
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BABA76

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

Preview Lab → · Contrast checker → · Palette generator →

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