#BABA82#BABA82

#BABA82 is a light, moderate yellow. Relative luminance 0.472; OKLCH L 77.5% C 0.075 H 108.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#BABA82
RGBrgb(186, 186, 130)
HSLhsl(60, 29%, 62%)
HSVhsv(60, 30%, 73%)
CMYKcmyk(0%, 0%, 30.1%, 27.1%)
CIE-LABlab(74.30, -8.87, 28.48)
CIE-LCHlch(74.30, 29.83, 107.29°)
OKLaboklab(77.53% -0.0231 0.071)
OKLCHoklch(77.53% 0.075 108)
XYZxyz(41.8381, 47.1693, 28.0154)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA82 #8282BA
analogous
#BA9E82 #BABA82 #9EBA82
triadic
#BABA82 #82BABA #BA82BA
tetradic
#BABA82 #82BA9E #8282BA #BA829E
square
#BABA82 #82BA9E #8282BA #BA829E
split-complementary
#BABA82 #829EBA #9E82BA
monochromatic
#7D7D45 #A4A45B #BABA82 #D0D0A9 #E6E6D1

Accessibility & contrast

On white

2.01
#BABA82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#BABA82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA82
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA82#FFFFFF#000000##000000
##BABA821.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57E
Deuteranopia (green-blind)
#C4B884
Tritanopia (blue-blind)
#C2B3AB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #baba82;
/* rgb */ color: rgb(186, 186, 130);
/* oklch */ color: oklch(77.5% 0.075 108.0);
Tailwind
colors: {
  custom: {
    50: '#cfcea6',
    500: '#baba82',
    950: '#000000',
  },
}
SCSS
$custom: #baba82;
$custom-light: #cfcea6;
$custom-dark: #000000;
JSON
{
  "hex": "#baba82",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 130
  },
  "hsl": {
    "h": 60,
    "s": 28.866,
    "l": 61.961
  },
  "oklch": {
    "l": 0.7753,
    "c": 0.07469,
    "h": 108
  },
  "luminance": 0.47169
}

Semantic roles & 50–950 ramp

primary
#BABA82
secondary
#C2C2D6
accent
#3EA83E
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BABA82

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

Preview Lab → · Contrast checker → · Palette generator →

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