#BABC4B#BABC4B

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

Color values

HEX#BABC4B
RGBrgb(186, 188, 75)
HSLhsl(61, 46%, 52%)
HSVhsv(61, 60%, 74%)
CMYKcmyk(1.1%, 0%, 60.1%, 26.3%)
CIE-LABlab(74.14, -15.37, 55.36)
CIE-LCHlch(74.14, 57.45, 105.52°)
OKLaboklab(77.17% -0.0465 0.1268)
OKLCHoklch(77.17% 0.135 110.1)
XYZxyz(39.5040, 46.9145, 13.6297)
Luminance0.4691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC4B #4D4BBC
analogous
#BC864B #BABC4B #82BC4B
triadic
#BABC4B #4BBABC #BC4BBA
tetradic
#BABC4B #4BBC86 #4D4BBC #BC4B82
square
#BABC4B #4BBC86 #4D4BBC #BC4B82
split-complementary
#BABC4B #4B82BC #864BBC
monochromatic
#656626 #919337 #BABC4B #CBCD78 #DCDDA4

Accessibility & contrast

On white

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

On black

10.38
#BABC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC4B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC4B#FFFFFF#000000##000000
##BABC4B1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43E
Deuteranopia (green-blind)
#CBB852
Tritanopia (blue-blind)
#C6B1A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc4b;
/* rgb */ color: rgb(186, 188, 75);
/* oklch */ color: oklch(77.2% 0.135 110.1);
Tailwind
colors: {
  custom: {
    50: '#d1d082',
    500: '#babc4b',
    950: '#000000',
  },
}
SCSS
$custom: #babc4b;
$custom-light: #d1d082;
$custom-dark: #000000;
JSON
{
  "hex": "#babc4b",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 75
  },
  "hsl": {
    "h": 61.062,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77172,
    "c": 0.13505,
    "h": 110.1
  },
  "luminance": 0.46914
}

Semantic roles & 50–950 ramp

primary
#BABC4B
secondary
#9999CA
accent
#52D555
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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