#BABC51#BABC51

#BABC51 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.2% C 0.130 H 110.1°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#BABC51
RGBrgb(186, 188, 81)
HSLhsl(61, 44%, 53%)
HSVhsv(61, 57%, 74%)
CMYKcmyk(1.1%, 0%, 56.9%, 26.3%)
CIE-LABlab(74.19, -14.94, 52.75)
CIE-LCHlch(74.19, 54.83, 105.81°)
OKLaboklab(77.23% -0.0446 0.122)
OKLCHoklch(77.23% 0.13 110.1)
XYZxyz(39.7192, 47.0006, 14.7627)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC51 #5351BC
analogous
#BC8851 #BABC51 #85BC51
triadic
#BABC51 #51BABC #BC51BA
tetradic
#BABC51 #51BC88 #5351BC #BC5185
square
#BABC51 #51BC88 #5351BC #BC5185
split-complementary
#BABC51 #5185BC #8851BC
monochromatic
#696A29 #94963A #BABC51 #CCCD7D #DDDEA9

Accessibility & contrast

On white

2.02
#BABC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#BABC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC51
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC51#FFFFFF#000000##000000
##BABC511.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B546
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#C6B1A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc51;
/* rgb */ color: rgb(186, 188, 81);
/* oklch */ color: oklch(77.2% 0.130 110.1);
Tailwind
colors: {
  custom: {
    50: '#d1d086',
    500: '#babc51',
    950: '#000000',
  },
}
SCSS
$custom: #babc51;
$custom-light: #d1d086;
$custom-dark: #000000;
JSON
{
  "hex": "#babc51",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 61.121,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77233,
    "c": 0.12993,
    "h": 110.1
  },
  "luminance": 0.47
}

Semantic roles & 50–950 ramp

primary
#BABC51
secondary
#9E9DCC
accent
#54D456
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABC51

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

Preview Lab → · Contrast checker → · Palette generator →

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