#BABA52#BABA52

#BABA52 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.8% C 0.127 H 109.0°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#BABA52
RGBrgb(186, 186, 82)
HSLhsl(60, 43%, 53%)
HSVhsv(60, 56%, 73%)
CMYKcmyk(0%, 0%, 55.9%, 27.1%)
CIE-LABlab(73.65, -13.84, 51.70)
CIE-LCHlch(73.65, 53.52, 104.99°)
OKLaboklab(76.81% -0.0414 0.1199)
OKLCHoklch(76.81% 0.127 109)
XYZxyz(39.3327, 46.1671, 14.8202)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA52 #5252BA
analogous
#BA8652 #BABA52 #86BA52
triadic
#BABA52 #52BABA #BA52BA
tetradic
#BABA52 #52BA86 #5252BA #BA5286
square
#BABA52 #52BA86 #5252BA #BA5286
split-complementary
#BABA52 #5286BA #8652BA
monochromatic
#68682A #94943B #BABA52 #CBCB7E #DDDDAA

Accessibility & contrast

On white

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

On black

10.23
#BABA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA52
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA52#FFFFFF#000000##000000
##BABA521.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#C6AFA3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba52;
/* rgb */ color: rgb(186, 186, 82);
/* oklch */ color: oklch(76.8% 0.127 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1ce86',
    500: '#baba52',
    950: '#000000',
  },
}
SCSS
$custom: #baba52;
$custom-light: #d1ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#baba52",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76809,
    "c": 0.12682,
    "h": 109
  },
  "luminance": 0.46166
}

Semantic roles & 50–950 ramp

primary
#BABA52
secondary
#9D9DCA
accent
#55D355
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABA52

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

Preview Lab → · Contrast checker → · Palette generator →

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