#BABA59#BABA59

#BABA59 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.9% C 0.120 H 108.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#BABA59
RGBrgb(186, 186, 89)
HSLhsl(60, 41%, 54%)
HSVhsv(60, 52%, 73%)
CMYKcmyk(0%, 0%, 52.2%, 27.1%)
CIE-LABlab(73.73, -13.27, 48.52)
CIE-LCHlch(73.73, 50.30, 105.30°)
OKLaboklab(76.89% -0.039 0.1138)
OKLCHoklch(76.89% 0.12 108.9)
XYZxyz(39.6127, 46.2792, 16.2953)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA59 #5959BA
analogous
#BA8A59 #BABA59 #8ABA59
triadic
#BABA59 #59BABA #BA59BA
tetradic
#BABA59 #59BA8A #5959BA #BA598A
square
#BABA59 #59BA8A #5959BA #BA598A
split-complementary
#BABA59 #598ABA #8A59BA
monochromatic
#6C6C2D #97973F #BABA59 #CCCC84 #DEDEAF

Accessibility & contrast

On white

2.05
#BABA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#BABA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA59
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA59#FFFFFF#000000##000000
##BABA591.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B350
Deuteranopia (green-blind)
#C8B75E
Tritanopia (blue-blind)
#C5B0A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba59;
/* rgb */ color: rgb(186, 186, 89);
/* oklch */ color: oklch(76.9% 0.120 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1ce8b',
    500: '#baba59',
    950: '#000000',
  },
}
SCSS
$custom: #baba59;
$custom-light: #d1ce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#baba59",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7689,
    "c": 0.12031,
    "h": 108.9
  },
  "luminance": 0.46278
}

Semantic roles & 50–950 ramp

primary
#BABA59
secondary
#A3A3CC
accent
#57D157
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABA59

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

Preview Lab → · Contrast checker → · Palette generator →

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