#BABA80#BABA80

#BABA80 is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.5% C 0.077 H 108.1°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#BABA80
RGBrgb(186, 186, 128)
HSLhsl(60, 30%, 62%)
HSVhsv(60, 31%, 73%)
CMYKcmyk(0%, 0%, 31.2%, 27.1%)
CIE-LABlab(74.26, -9.12, 29.49)
CIE-LCHlch(74.26, 30.87, 107.19°)
OKLaboklab(77.49% -0.0239 0.0734)
OKLCHoklch(77.49% 0.077 108.1)
XYZxyz(41.7051, 47.1161, 27.3152)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA80 #8080BA
analogous
#BA9D80 #BABA80 #9DBA80
triadic
#BABA80 #80BABA #BA80BA
tetradic
#BABA80 #80BA9D #8080BA #BA809D
square
#BABA80 #80BA9D #8080BA #BA809D
split-complementary
#BABA80 #809DBA #9D80BA
monochromatic
#7C7C43 #A4A459 #BABA80 #D0D0A8 #E5E5CF

Accessibility & contrast

On white

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

On black

10.42
#BABA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA80
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA80#FFFFFF#000000##000000
##BABA801.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baba80;
/* rgb */ color: rgb(186, 186, 128);
/* oklch */ color: oklch(77.5% 0.077 108.1);
Tailwind
colors: {
  custom: {
    50: '#cfcea5',
    500: '#baba80',
    950: '#000000',
  },
}
SCSS
$custom: #baba80;
$custom-light: #cfcea5;
$custom-dark: #000000;
JSON
{
  "hex": "#baba80",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 128
  },
  "hsl": {
    "h": 60,
    "s": 29.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77492,
    "c": 0.07716,
    "h": 108.1
  },
  "luminance": 0.47115
}

Semantic roles & 50–950 ramp

primary
#BABA80
secondary
#C0C0D6
accent
#3DA83D
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BABA80

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

Preview Lab → · Contrast checker → · Palette generator →

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