#BABA8A#BABA8A

#BABA8A is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.7% C 0.065 H 107.8°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#BABA8A
RGBrgb(186, 186, 138)
HSLhsl(60, 26%, 64%)
HSVhsv(60, 26%, 73%)
CMYKcmyk(0%, 0%, 25.8%, 27.1%)
CIE-LABlab(74.44, -7.80, 24.42)
CIE-LCHlch(74.44, 25.64, 107.70°)
OKLaboklab(77.69% -0.0198 0.0615)
OKLCHoklch(77.69% 0.065 107.8)
XYZxyz(42.3961, 47.3925, 30.9541)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA8A #8A8ABA
analogous
#BAA28A #BABA8A #A2BA8A
triadic
#BABA8A #8ABABA #BA8ABA
tetradic
#BABA8A #8ABAA2 #8A8ABA #BA8AA2
square
#BABA8A #8ABAA2 #8A8ABA #BA8AA2
split-complementary
#BABA8A #8AA2BA #A28ABA
monochromatic
#7F7F4B #A3A364 #BABA8A #D1D1B0 #E7E7D7

Accessibility & contrast

On white

2.00
#BABA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#BABA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA8A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA8A#FFFFFF#000000##000000
##BABA8A1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B687
Deuteranopia (green-blind)
#C3B88C
Tritanopia (blue-blind)
#C1B4AD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #baba8a;
/* rgb */ color: rgb(186, 186, 138);
/* oklch */ color: oklch(77.7% 0.065 107.8);
Tailwind
colors: {
  custom: {
    50: '#cfceac',
    500: '#baba8a',
    950: '#000000',
  },
}
SCSS
$custom: #baba8a;
$custom-light: #cfceac;
$custom-dark: #000000;
JSON
{
  "hex": "#baba8a",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.7769,
    "c": 0.06464,
    "h": 107.8
  },
  "luminance": 0.47392
}

Semantic roles & 50–950 ramp

primary
#BABA8A
secondary
#C7C7D8
accent
#41A441
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BABA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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