#BABA57#BABA57

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

Color values

HEX#BABA57
RGBrgb(186, 186, 87)
HSLhsl(60, 42%, 54%)
HSVhsv(60, 53%, 73%)
CMYKcmyk(0%, 0%, 53.2%, 27.1%)
CIE-LABlab(73.70, -13.44, 49.43)
CIE-LCHlch(73.70, 51.23, 105.21°)
OKLaboklab(76.87% -0.0397 0.1156)
OKLCHoklch(76.87% 0.122 109)
XYZxyz(39.5299, 46.2460, 15.8590)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA57 #5757BA
analogous
#BA8857 #BABA57 #88BA57
triadic
#BABA57 #57BABA #BA57BA
tetradic
#BABA57 #57BA88 #5757BA #BA5788
square
#BABA57 #57BA88 #5757BA #BA5788
split-complementary
#BABA57 #5788BA #8857BA
monochromatic
#6B6B2C #96963E #BABA57 #CCCC82 #DEDEAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA57#FFFFFF#000000##000000
##BABA571.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)
#C7B34D
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#C6B0A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba57;
/* rgb */ color: rgb(186, 186, 87);
/* oklch */ color: oklch(76.9% 0.122 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1ce89',
    500: '#baba57',
    950: '#000000',
  },
}
SCSS
$custom: #baba57;
$custom-light: #d1ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#baba57",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76866,
    "c": 0.12221,
    "h": 109
  },
  "luminance": 0.46245
}

Semantic roles & 50–950 ramp

primary
#BABA57
secondary
#A1A1CC
accent
#56D256
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABA57

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

Preview Lab → · Contrast checker → · Palette generator →

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