#BABC4A#BABC4A

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

Color values

HEX#BABC4A
RGBrgb(186, 188, 74)
HSLhsl(61, 46%, 51%)
HSVhsv(61, 61%, 74%)
CMYKcmyk(1.1%, 0%, 60.6%, 26.3%)
CIE-LABlab(74.13, -15.44, 55.78)
CIE-LCHlch(74.13, 57.88, 105.47°)
OKLaboklab(77.16% -0.0468 0.1276)
OKLCHoklch(77.16% 0.136 110.1)
XYZxyz(39.4701, 46.9010, 13.4508)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC4A #4C4ABC
analogous
#BC854A #BABC4A #81BC4A
triadic
#BABC4A #4ABABC #BC4ABA
tetradic
#BABC4A #4ABC85 #4C4ABC #BC4A81
square
#BABC4A #4ABC85 #4C4ABC #BC4A81
split-complementary
#BABC4A #4A81BC #854ABC
monochromatic
#656626 #919336 #BABC4A #CBCD77 #DCDDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABC4A#FFFFFF#000000##000000
##BABC4A1.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)
#CAB43D
Deuteranopia (green-blind)
#CBB851
Tritanopia (blue-blind)
#C6B1A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc4a;
/* rgb */ color: rgb(186, 188, 74);
/* oklch */ color: oklch(77.2% 0.136 110.1);
Tailwind
colors: {
  custom: {
    50: '#d1d081',
    500: '#babc4a',
    950: '#000000',
  },
}
SCSS
$custom: #babc4a;
$custom-light: #d1d081;
$custom-dark: #000000;
JSON
{
  "hex": "#babc4a",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 74
  },
  "hsl": {
    "h": 61.053,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77162,
    "c": 0.13587,
    "h": 110.1
  },
  "luminance": 0.469
}

Semantic roles & 50–950 ramp

primary
#BABC4A
secondary
#9998CA
accent
#52D654
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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