#BABC4F#BABC4F

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

Color values

HEX#BABC4F
RGBrgb(186, 188, 79)
HSLhsl(61, 45%, 52%)
HSVhsv(61, 58%, 74%)
CMYKcmyk(1.1%, 0%, 58%, 26.3%)
CIE-LABlab(74.17, -15.09, 53.63)
CIE-LCHlch(74.17, 55.71, 105.71°)
OKLaboklab(77.21% -0.0452 0.1237)
OKLCHoklch(77.21% 0.132 110.1)
XYZxyz(39.6453, 46.9710, 14.3735)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC4F #514FBC
analogous
#BC884F #BABC4F #84BC4F
triadic
#BABC4F #4FBABC #BC4FBA
tetradic
#BABC4F #4FBC88 #514FBC #BC4F84
square
#BABC4F #4FBC88 #514FBC #BC4F84
split-complementary
#BABC4F #4F84BC #884FBC
monochromatic
#686928 #939539 #BABC4F #CBCD7B #DDDEA8

Accessibility & contrast

On white

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

On black

10.39
#BABC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC4F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC4F#FFFFFF#000000##000000
##BABC4F1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#CBB855
Tritanopia (blue-blind)
#C6B1A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc4f;
/* rgb */ color: rgb(186, 188, 79);
/* oklch */ color: oklch(77.2% 0.132 110.1);
Tailwind
colors: {
  custom: {
    50: '#d1d084',
    500: '#babc4f',
    950: '#000000',
  },
}
SCSS
$custom: #babc4f;
$custom-light: #d1d084;
$custom-dark: #000000;
JSON
{
  "hex": "#babc4f",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 61.101,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77212,
    "c": 0.13167,
    "h": 110.1
  },
  "luminance": 0.4697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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