#BABB37#BABB37

#BABB37 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.149 H 109.9°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#BABB37
RGBrgb(186, 187, 55)
HSLhsl(60, 55%, 47%)
HSVhsv(60, 71%, 73%)
CMYKcmyk(0.5%, 0%, 70.6%, 26.7%)
CIE-LABlab(73.71, -16.06, 62.95)
CIE-LCHlch(73.71, 64.97, 104.31°)
OKLaboklab(76.79% -0.0505 0.1397)
OKLCHoklch(76.79% 0.149 109.9)
XYZxyz(38.7110, 46.2567, 10.5030)
Luminance0.4626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB37 #3837BB
analogous
#BB7A37 #BABB37 #78BB37
triadic
#BABB37 #37BABB #BB37BA
tetradic
#BABB37 #37BB7A #3837BB #BB3778
square
#BABB37 #37BB7A #3837BB #BB3778
split-complementary
#BABB37 #3778BB #7A37BB
monochromatic
#5C5C1B #8B8C29 #BABB37 #CFD05F #DDDE8E

Accessibility & contrast

On white

2.05
#BABB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#BABB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB37
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB37#FFFFFF#000000##000000
##BABB371.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB320
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb37;
/* rgb */ color: rgb(186, 187, 55);
/* oklch */ color: oklch(76.8% 0.149 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2cf77',
    500: '#babb37',
    950: '#000000',
  },
}
SCSS
$custom: #babb37;
$custom-light: #d2cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#babb37",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 55
  },
  "hsl": {
    "h": 60.455,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76786,
    "c": 0.14856,
    "h": 109.9
  },
  "luminance": 0.46256
}

Semantic roles & 50–950 ramp

primary
#BABB37
secondary
#8685C9
accent
#4ADE4B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB37

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

Preview Lab → · Contrast checker → · Palette generator →

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