#BABC5B#BABC5B

#BABC5B is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.3% C 0.121 H 110.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#BABC5B
RGBrgb(186, 188, 91)
HSLhsl(61, 42%, 55%)
HSVhsv(61, 52%, 74%)
CMYKcmyk(1.1%, 0%, 51.6%, 26.3%)
CIE-LABlab(74.29, -14.12, 48.23)
CIE-LCHlch(74.29, 50.25, 106.32°)
OKLaboklab(77.35% -0.0412 0.1134)
OKLCHoklch(77.35% 0.121 110)
XYZxyz(40.1222, 47.1618, 16.8851)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC5B #5D5BBC
analogous
#BC8E5B #BABC5B #8ABC5B
triadic
#BABC5B #5BBABC #BC5BBA
tetradic
#BABC5B #5BBC8E #5D5BBC #BC5B8A
square
#BABC5B #5BBC8E #5D5BBC #BC5B8A
split-complementary
#BABC5B #5B8ABC #8E5BBC
monochromatic
#6E6F2D #999B3F #BABC5B #CCCE86 #DFE0B2

Accessibility & contrast

On white

2.01
#BABC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#BABC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC5B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC5B#FFFFFF#000000##000000
##BABC5B1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B552
Deuteranopia (green-blind)
#CAB860
Tritanopia (blue-blind)
#C5B2A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babc5b;
/* rgb */ color: rgb(186, 188, 91);
/* oklch */ color: oklch(77.3% 0.121 110.0);
Tailwind
colors: {
  custom: {
    50: '#d1d08c',
    500: '#babc5b',
    950: '#000000',
  },
}
SCSS
$custom: #babc5b;
$custom-light: #d1d08c;
$custom-dark: #000000;
JSON
{
  "hex": "#babc5b",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 91
  },
  "hsl": {
    "h": 61.237,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77349,
    "c": 0.12064,
    "h": 110
  },
  "luminance": 0.47161
}

Semantic roles & 50–950 ramp

primary
#BABC5B
secondary
#A6A5CE
accent
#56D259
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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