#BABA77#BABA77

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

Color values

HEX#BABA77
RGBrgb(186, 186, 119)
HSLhsl(60, 33%, 60%)
HSVhsv(60, 36%, 73%)
CMYKcmyk(0%, 0%, 36%, 27.1%)
CIE-LABlab(74.12, -10.23, 34.01)
CIE-LCHlch(74.12, 35.51, 106.74°)
OKLaboklab(77.33% -0.0276 0.0836)
OKLCHoklch(77.33% 0.088 108.3)
XYZxyz(41.1388, 46.8896, 24.3326)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA77 #7777BA
analogous
#BA9977 #BABA77 #99BA77
triadic
#BABA77 #77BABA #BA77BA
tetradic
#BABA77 #77BA99 #7777BA #BA7799
square
#BABA77 #77BA99 #7777BA #BA7799
split-complementary
#BABA77 #7799BA #9977BA
monochromatic
#79793D #A2A252 #BABA77 #CFCFA0 #E3E3C8

Accessibility & contrast

On white

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

On black

10.38
#BABA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA77
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA77#FFFFFF#000000##000000
##BABA771.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baba77;
/* rgb */ color: rgb(186, 186, 119);
/* oklch */ color: oklch(77.3% 0.088 108.3);
Tailwind
colors: {
  custom: {
    50: '#d0ce9f',
    500: '#baba77',
    950: '#000000',
  },
}
SCSS
$custom: #baba77;
$custom-light: #d0ce9f;
$custom-dark: #000000;
JSON
{
  "hex": "#baba77",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 119
  },
  "hsl": {
    "h": 60,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.7733,
    "c": 0.088,
    "h": 108.3
  },
  "luminance": 0.46889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA77

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

Preview Lab → · Contrast checker → · Palette generator →

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