#BABC54#BABC54

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

Color values

HEX#BABC54
RGBrgb(186, 188, 84)
HSLhsl(61, 44%, 53%)
HSVhsv(61, 55%, 74%)
CMYKcmyk(1.1%, 0%, 55.3%, 26.3%)
CIE-LABlab(74.22, -14.70, 51.42)
CIE-LCHlch(74.22, 53.48, 105.96°)
OKLaboklab(77.27% -0.0436 0.1195)
OKLCHoklch(77.27% 0.127 110.1)
XYZxyz(39.8342, 47.0466, 15.3683)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC54 #5654BC
analogous
#BC8A54 #BABC54 #86BC54
triadic
#BABC54 #54BABC #BC54BA
tetradic
#BABC54 #54BC8A #5654BC #BC5486
square
#BABC54 #54BC8A #5654BC #BC5486
split-complementary
#BABC54 #5486BC #8A54BC
monochromatic
#6A6B2A #96973B #BABC54 #CCCD80 #DDDEAC

Accessibility & contrast

On white

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

On black

10.41
#BABC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC54
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC54#FFFFFF#000000##000000
##BABC541.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B549
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#C6B2A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc54;
/* rgb */ color: rgb(186, 188, 84);
/* oklch */ color: oklch(77.3% 0.127 110.1);
Tailwind
colors: {
  custom: {
    50: '#d1d088',
    500: '#babc54',
    950: '#000000',
  },
}
SCSS
$custom: #babc54;
$custom-light: #d1d088;
$custom-dark: #000000;
JSON
{
  "hex": "#babc54",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 61.154,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77266,
    "c": 0.12723,
    "h": 110.1
  },
  "luminance": 0.47046
}

Semantic roles & 50–950 ramp

primary
#BABC54
secondary
#A0A0CC
accent
#54D357
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABC54

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

Preview Lab → · Contrast checker → · Palette generator →

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