#BABA50#BABA50

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

Color values

HEX#BABA50
RGBrgb(186, 186, 80)
HSLhsl(60, 43%, 52%)
HSVhsv(60, 57%, 73%)
CMYKcmyk(0%, 0%, 57%, 27.1%)
CIE-LABlab(73.63, -13.99, 52.59)
CIE-LCHlch(73.63, 54.41, 104.90°)
OKLaboklab(76.79% -0.042 0.1215)
OKLCHoklch(76.79% 0.129 109.1)
XYZxyz(39.2577, 46.1371, 14.4252)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA50 #5050BA
analogous
#BA8550 #BABA50 #85BA50
triadic
#BABA50 #50BABA #BA50BA
tetradic
#BABA50 #50BA85 #5050BA #BA5085
square
#BABA50 #50BA85 #5050BA #BA5085
split-complementary
#BABA50 #5085BA #8550BA
monochromatic
#676729 #93933A #BABA50 #CBCB7C #DDDDA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA50#FFFFFF#000000##000000
##BABA501.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)
#C8B345
Deuteranopia (green-blind)
#C9B756
Tritanopia (blue-blind)
#C6AFA3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba50;
/* rgb */ color: rgb(186, 186, 80);
/* oklch */ color: oklch(76.8% 0.129 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1ce85',
    500: '#baba50',
    950: '#000000',
  },
}
SCSS
$custom: #baba50;
$custom-light: #d1ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#baba50",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76787,
    "c": 0.12861,
    "h": 109.1
  },
  "luminance": 0.46136
}

Semantic roles & 50–950 ramp

primary
#BABA50
secondary
#9C9CCA
accent
#55D355
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABA50

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

Preview Lab → · Contrast checker → · Palette generator →

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