#BABA55#BABA55

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

Color values

HEX#BABA55
RGBrgb(186, 186, 85)
HSLhsl(60, 42%, 53%)
HSVhsv(60, 54%, 73%)
CMYKcmyk(0%, 0%, 54.3%, 27.1%)
CIE-LABlab(73.68, -13.60, 50.35)
CIE-LCHlch(73.68, 52.15, 105.12°)
OKLaboklab(76.84% -0.0404 0.1173)
OKLCHoklch(76.84% 0.124 109)
XYZxyz(39.4493, 46.2138, 15.4346)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA55 #5555BA
analogous
#BA8755 #BABA55 #87BA55
triadic
#BABA55 #55BABA #BA55BA
tetradic
#BABA55 #55BA87 #5555BA #BA5587
square
#BABA55 #55BA87 #5555BA #BA5587
split-complementary
#BABA55 #5587BA #8755BA
monochromatic
#6A6A2B #95953D #BABA55 #CCCC81 #DDDDAC

Accessibility & contrast

On white

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

On black

10.24
#BABA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA55
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA55#FFFFFF#000000##000000
##BABA551.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34B
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#C6B0A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba55;
/* rgb */ color: rgb(186, 186, 85);
/* oklch */ color: oklch(76.8% 0.124 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1ce88',
    500: '#baba55',
    950: '#000000',
  },
}
SCSS
$custom: #baba55;
$custom-light: #d1ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#baba55",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76843,
    "c": 0.12409,
    "h": 109
  },
  "luminance": 0.46213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA55

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

Preview Lab → · Contrast checker → · Palette generator →

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