#BABC3E#BABC3E

#BABC3E is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.145 H 110.3°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#BABC3E
RGBrgb(186, 188, 62)
HSLhsl(61, 50%, 49%)
HSVhsv(61, 67%, 74%)
CMYKcmyk(1.1%, 0%, 67%, 26.3%)
CIE-LABlab(74.03, -16.20, 60.63)
CIE-LCHlch(74.03, 62.76, 104.96°)
OKLaboklab(77.06% -0.0502 0.136)
OKLCHoklch(77.06% 0.145 110.3)
XYZxyz(39.1037, 46.7544, 11.5211)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC3E #403EBC
analogous
#BC7F3E #BABC3E #7BBC3E
triadic
#BABC3E #3EBABC #BC3EBA
tetradic
#BABC3E #3EBC7F #403EBC #BC3E7B
square
#BABC3E #3EBC7F #403EBC #BC3E7B
split-complementary
#BABC3E #3E7BBC #7F3EBC
monochromatic
#5F6020 #8C8E2F #BABC3E #CCCE6A #DCDD98

Accessibility & contrast

On white

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

On black

10.35
#BABC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC3E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC3E#FFFFFF#000000##000000
##BABC3E1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42B
Deuteranopia (green-blind)
#CCB847
Tritanopia (blue-blind)
#C7B0A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc3e;
/* rgb */ color: rgb(186, 188, 62);
/* oklch */ color: oklch(77.1% 0.145 110.3);
Tailwind
colors: {
  custom: {
    50: '#d2cf7a',
    500: '#babc3e',
    950: '#000000',
  },
}
SCSS
$custom: #babc3e;
$custom-light: #d2cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#babc3e",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 60.952,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77057,
    "c": 0.14495,
    "h": 110.3
  },
  "luminance": 0.46753
}

Semantic roles & 50–950 ramp

primary
#BABC3E
secondary
#8E8DC9
accent
#4EDA50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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