#BABA79#BABA79

#BABA79 is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.4% C 0.086 H 108.2°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#BABA79
RGBrgb(186, 186, 121)
HSLhsl(60, 32%, 60%)
HSVhsv(60, 35%, 73%)
CMYKcmyk(0%, 0%, 34.9%, 27.1%)
CIE-LABlab(74.15, -9.99, 33.01)
CIE-LCHlch(74.15, 34.49, 106.84°)
OKLaboklab(77.36% -0.0268 0.0813)
OKLCHoklch(77.36% 0.086 108.2)
XYZxyz(41.2602, 46.9381, 24.9719)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA79 #7979BA
analogous
#BA9979 #BABA79 #99BA79
triadic
#BABA79 #79BABA #BA79BA
tetradic
#BABA79 #79BA99 #7979BA #BA7999
square
#BABA79 #79BA99 #7979BA #BA7999
split-complementary
#BABA79 #7999BA #9979BA
monochromatic
#7A7A3F #A2A254 #BABA79 #CFCFA1 #E4E4CA

Accessibility & contrast

On white

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

On black

10.39
#BABA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA79
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA79#FFFFFF#000000##000000
##BABA791.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B574
Deuteranopia (green-blind)
#C5B87C
Tritanopia (blue-blind)
#C3B2AA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baba79;
/* rgb */ color: rgb(186, 186, 121);
/* oklch */ color: oklch(77.4% 0.086 108.2);
Tailwind
colors: {
  custom: {
    50: '#cfcea0',
    500: '#baba79',
    950: '#000000',
  },
}
SCSS
$custom: #baba79;
$custom-light: #cfcea0;
$custom-dark: #000000;
JSON
{
  "hex": "#baba79",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.77365,
    "c": 0.08563,
    "h": 108.2
  },
  "luminance": 0.46937
}

Semantic roles & 50–950 ramp

primary
#BABA79
secondary
#BBBBD4
accent
#3BAB3B
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130F
muted
#82827E

Preview Lab

Preview with #BABA79

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

Preview Lab → · Contrast checker → · Palette generator →

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