#BABC50#BABC50

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

Color values

HEX#BABC50
RGBrgb(186, 188, 80)
HSLhsl(61, 45%, 53%)
HSVhsv(61, 57%, 74%)
CMYKcmyk(1.1%, 0%, 57.4%, 26.3%)
CIE-LABlab(74.18, -15.01, 53.19)
CIE-LCHlch(74.18, 55.27, 105.76°)
OKLaboklab(77.22% -0.0449 0.1228)
OKLCHoklch(77.22% 0.131 110.1)
XYZxyz(39.6820, 46.9857, 14.5667)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC50 #5250BC
analogous
#BC8850 #BABC50 #84BC50
triadic
#BABC50 #50BABC #BC50BA
tetradic
#BABC50 #50BC88 #5250BC #BC5084
square
#BABC50 #50BC88 #5250BC #BC5084
split-complementary
#BABC50 #5084BC #8850BC
monochromatic
#686928 #949639 #BABC50 #CBCD7C #DDDEA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABC50#FFFFFF#000000##000000
##BABC501.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)
#CAB544
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#C6B1A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc50;
/* rgb */ color: rgb(186, 188, 80);
/* oklch */ color: oklch(77.2% 0.131 110.1);
Tailwind
colors: {
  custom: {
    50: '#d1d085',
    500: '#babc50',
    950: '#000000',
  },
}
SCSS
$custom: #babc50;
$custom-light: #d1d085;
$custom-dark: #000000;
JSON
{
  "hex": "#babc50",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 80
  },
  "hsl": {
    "h": 61.111,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77223,
    "c": 0.1308,
    "h": 110.1
  },
  "luminance": 0.46985
}

Semantic roles & 50–950 ramp

primary
#BABC50
secondary
#9D9CCB
accent
#53D456
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABC50

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

Preview Lab → · Contrast checker → · Palette generator →

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