#BABC3A#BABC3A

#BABC3A is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.0% C 0.148 H 110.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BABC3A
RGBrgb(186, 188, 58)
HSLhsl(61, 53%, 48%)
HSVhsv(61, 69%, 74%)
CMYKcmyk(1.1%, 0%, 69.1%, 26.3%)
CIE-LABlab(74.01, -16.41, 62.13)
CIE-LCHlch(74.01, 64.27, 104.80°)
OKLaboklab(77.03% -0.0512 0.1385)
OKLCHoklch(77.03% 0.148 110.3)
XYZxyz(38.9979, 46.7121, 10.9642)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC3A #3C3ABC
analogous
#BC7D3A #BABC3A #79BC3A
triadic
#BABC3A #3ABABC #BC3ABA
tetradic
#BABC3A #3ABC7D #3C3ABC #BC3A79
square
#BABC3A #3ABC7D #3C3ABC #BC3A79
split-complementary
#BABC3A #3A79BC #7D3ABC
monochromatic
#5D5E1D #8C8D2C #BABC3A #CECF64 #DCDE93

Accessibility & contrast

On white

2.03
#BABC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#BABC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC3A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC3A#FFFFFF#000000##000000
##BABC3A1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB425
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#C7B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc3a;
/* rgb */ color: rgb(186, 188, 58);
/* oklch */ color: oklch(77.0% 0.148 110.3);
Tailwind
colors: {
  custom: {
    50: '#d2cf78',
    500: '#babc3a',
    950: '#000000',
  },
}
SCSS
$custom: #babc3a;
$custom-light: #d2cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#babc3a",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 60.923,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77026,
    "c": 0.14766,
    "h": 110.3
  },
  "luminance": 0.46711
}

Semantic roles & 50–950 ramp

primary
#BABC3A
secondary
#8A89C9
accent
#4CDC4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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