#BABA56#BABA56

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

Color values

HEX#BABA56
RGBrgb(186, 186, 86)
HSLhsl(60, 42%, 53%)
HSVhsv(60, 54%, 73%)
CMYKcmyk(0%, 0%, 53.8%, 27.1%)
CIE-LABlab(73.69, -13.52, 49.89)
CIE-LCHlch(73.69, 51.69, 105.16°)
OKLaboklab(76.85% -0.04 0.1165)
OKLCHoklch(76.85% 0.123 109)
XYZxyz(39.4893, 46.2298, 15.6453)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA56 #5656BA
analogous
#BA8856 #BABA56 #88BA56
triadic
#BABA56 #56BABA #BA56BA
tetradic
#BABA56 #56BA88 #5656BA #BA5688
square
#BABA56 #56BA88 #5656BA #BA5688
split-complementary
#BABA56 #5688BA #8856BA
monochromatic
#6A6A2B #96963D #BABA56 #CCCC81 #DDDDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA56#FFFFFF#000000##000000
##BABA561.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)
#C7B34C
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#C6B0A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba56;
/* rgb */ color: rgb(186, 186, 86);
/* oklch */ color: oklch(76.9% 0.123 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1ce89',
    500: '#baba56',
    950: '#000000',
  },
}
SCSS
$custom: #baba56;
$custom-light: #d1ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#baba56",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76854,
    "c": 0.12315,
    "h": 109
  },
  "luminance": 0.46229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA56

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

Preview Lab → · Contrast checker → · Palette generator →

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