#BABA73#BABA73

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

Color values

HEX#BABA73
RGBrgb(186, 186, 115)
HSLhsl(60, 34%, 59%)
HSVhsv(60, 38%, 73%)
CMYKcmyk(0%, 0%, 38.2%, 27.1%)
CIE-LABlab(74.06, -10.69, 36.00)
CIE-LCHlch(74.06, 37.55, 106.54°)
OKLaboklab(77.26% -0.0292 0.0879)
OKLCHoklch(77.26% 0.093 108.4)
XYZxyz(40.9036, 46.7955, 23.0940)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA73 #7373BA
analogous
#BA9773 #BABA73 #97BA73
triadic
#BABA73 #73BABA #BA73BA
tetradic
#BABA73 #73BA97 #7373BA #BA7397
square
#BABA73 #73BA97 #7373BA #BA7397
split-complementary
#BABA73 #7397BA #9773BA
monochromatic
#78783B #A1A14F #BABA73 #CECE9C #E2E2C5

Accessibility & contrast

On white

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

On black

10.36
#BABA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA73
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA73#FFFFFF#000000##000000
##BABA731.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baba73;
/* rgb */ color: rgb(186, 186, 115);
/* oklch */ color: oklch(77.3% 0.093 108.4);
Tailwind
colors: {
  custom: {
    50: '#d0ce9c',
    500: '#baba73',
    950: '#000000',
  },
}
SCSS
$custom: #baba73;
$custom-light: #d0ce9c;
$custom-dark: #000000;
JSON
{
  "hex": "#baba73",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 115
  },
  "hsl": {
    "h": 60,
    "s": 33.971,
    "l": 59.02
  },
  "oklch": {
    "l": 0.77262,
    "c": 0.09266,
    "h": 108.4
  },
  "luminance": 0.46795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA73

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

Preview Lab → · Contrast checker → · Palette generator →

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