#BABC37#BABC37

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

Color values

HEX#BABC37
RGBrgb(186, 188, 55)
HSLhsl(61, 55%, 48%)
HSVhsv(61, 71%, 74%)
CMYKcmyk(1.1%, 0%, 70.7%, 26.3%)
CIE-LABlab(73.99, -16.57, 63.22)
CIE-LCHlch(73.99, 65.35, 104.69°)
OKLaboklab(77.01% -0.0519 0.1403)
OKLCHoklch(77.01% 0.15 110.3)
XYZxyz(38.9238, 46.6825, 10.5739)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC37 #3937BC
analogous
#BC7B37 #BABC37 #78BC37
triadic
#BABC37 #37BABC #BC37BA
tetradic
#BABC37 #37BC7B #3937BC #BC3778
square
#BABC37 #37BC7B #3937BC #BC3778
split-complementary
#BABC37 #3778BC #7B37BC
monochromatic
#5C5D1B #8B8D29 #BABC37 #CFD060 #DDDE8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABC37#FFFFFF#000000##000000
##BABC371.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)
#CBB420
Deuteranopia (green-blind)
#CCB841
Tritanopia (blue-blind)
#C7B0A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc37;
/* rgb */ color: rgb(186, 188, 55);
/* oklch */ color: oklch(77.0% 0.150 110.3);
Tailwind
colors: {
  custom: {
    50: '#d2cf77',
    500: '#babc37',
    950: '#000000',
  },
}
SCSS
$custom: #babc37;
$custom-light: #d2cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#babc37",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 55
  },
  "hsl": {
    "h": 60.902,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77005,
    "c": 0.14957,
    "h": 110.3
  },
  "luminance": 0.46681
}

Semantic roles & 50–950 ramp

primary
#BABC37
secondary
#8786C9
accent
#4ADE4C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABC37

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

Preview Lab → · Contrast checker → · Palette generator →

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