#BABA58#BABA58

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

Color values

HEX#BABA58
RGBrgb(186, 186, 88)
HSLhsl(60, 42%, 54%)
HSVhsv(60, 53%, 73%)
CMYKcmyk(0%, 0%, 52.7%, 27.1%)
CIE-LABlab(73.72, -13.35, 48.98)
CIE-LCHlch(73.72, 50.76, 105.25°)
OKLaboklab(76.88% -0.0394 0.1147)
OKLCHoklch(76.88% 0.121 108.9)
XYZxyz(39.5710, 46.2625, 16.0757)
Luminance0.4626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA58 #5858BA
analogous
#BA8958 #BABA58 #89BA58
triadic
#BABA58 #58BABA #BA58BA
tetradic
#BABA58 #58BA89 #5858BA #BA5889
square
#BABA58 #58BA89 #5858BA #BA5889
split-complementary
#BABA58 #5889BA #8958BA
monochromatic
#6B6B2C #97973E #BABA58 #CCCC83 #DEDEAF

Accessibility & contrast

On white

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

On black

10.25
#BABA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA58
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA58#FFFFFF#000000##000000
##BABA581.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baba58;
/* rgb */ color: rgb(186, 186, 88);
/* oklch */ color: oklch(76.9% 0.121 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1ce8a',
    500: '#baba58',
    950: '#000000',
  },
}
SCSS
$custom: #baba58;
$custom-light: #d1ce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#baba58",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76878,
    "c": 0.12127,
    "h": 108.9
  },
  "luminance": 0.46261
}

Semantic roles & 50–950 ramp

primary
#BABA58
secondary
#A2A2CC
accent
#56D156
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABA58

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

Preview Lab → · Contrast checker → · Palette generator →

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