#BABC2B#BABC2B

#BABC2B is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.156 H 110.4°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BABC2B
RGBrgb(186, 188, 43)
HSLhsl(61, 63%, 45%)
HSVhsv(61, 77%, 74%)
CMYKcmyk(1.1%, 0%, 77.1%, 26.3%)
CIE-LABlab(73.92, -17.09, 67.15)
CIE-LCHlch(73.92, 69.29, 104.28°)
OKLaboklab(76.93% -0.0544 0.1465)
OKLCHoklch(76.93% 0.156 110.4)
XYZxyz(38.6704, 46.5811, 9.2390)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC2B #2D2BBC
analogous
#BC762B #BABC2B #71BC2B
triadic
#BABC2B #2BBABC #BC2BBA
tetradic
#BABC2B #2BBC76 #2D2BBC #BC2B71
square
#BABC2B #2BBC76 #2D2BBC #BC2B71
split-complementary
#BABC2B #2B71BC #762BBC
monochromatic
#575814 #898A20 #BABC2B #D5D64E #E0E280

Accessibility & contrast

On white

2.04
#BABC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#BABC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC2B
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC2B#FFFFFF#000000##000000
##BABC2B1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB400
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#C7B0A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc2b;
/* rgb */ color: rgb(186, 188, 43);
/* oklch */ color: oklch(76.9% 0.156 110.4);
Tailwind
colors: {
  custom: {
    50: '#d3cf71',
    500: '#babc2b',
    950: '#000000',
  },
}
SCSS
$custom: #babc2b;
$custom-light: #d3cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#babc2b",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 60.828,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76932,
    "c": 0.15625,
    "h": 110.4
  },
  "luminance": 0.4658
}

Semantic roles & 50–950 ramp

primary
#BABC2B
secondary
#7978CB
accent
#42E644
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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