#BABA72#BABA72

#BABA72 is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.2% C 0.094 H 108.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#BABA72
RGBrgb(186, 186, 114)
HSLhsl(60, 34%, 59%)
HSVhsv(60, 39%, 73%)
CMYKcmyk(0%, 0%, 38.7%, 27.1%)
CIE-LABlab(74.04, -10.80, 36.50)
CIE-LCHlch(74.04, 38.06, 106.49°)
OKLaboklab(77.25% -0.0296 0.089)
OKLCHoklch(77.25% 0.094 108.4)
XYZxyz(40.8464, 46.7726, 22.7926)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA72 #7272BA
analogous
#BA9672 #BABA72 #96BA72
triadic
#BABA72 #72BABA #BA72BA
tetradic
#BABA72 #72BA96 #7272BA #BA7296
square
#BABA72 #72BA96 #7272BA #BA7296
split-complementary
#BABA72 #7296BA #9672BA
monochromatic
#77773A #A0A04E #BABA72 #CECE9B #E2E2C4

Accessibility & contrast

On white

2.03
#BABA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#BABA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA72
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA72#FFFFFF#000000##000000
##BABA721.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B46D
Deuteranopia (green-blind)
#C6B775
Tritanopia (blue-blind)
#C3B2A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baba72;
/* rgb */ color: rgb(186, 186, 114);
/* oklch */ color: oklch(77.2% 0.094 108.4);
Tailwind
colors: {
  custom: {
    50: '#d0ce9b',
    500: '#baba72',
    950: '#000000',
  },
}
SCSS
$custom: #baba72;
$custom-light: #d0ce9b;
$custom-dark: #000000;
JSON
{
  "hex": "#baba72",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 114
  },
  "hsl": {
    "h": 60,
    "s": 34.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77246,
    "c": 0.09381,
    "h": 108.4
  },
  "luminance": 0.46772
}

Semantic roles & 50–950 ramp

primary
#BABA72
secondary
#B6B6D2
accent
#5DCA5D
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BABA72

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

Preview Lab → · Contrast checker → · Palette generator →

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