#BABD37#BABD37

#BABD37 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.151 H 110.7°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#BABD37
RGBrgb(186, 189, 55)
HSLhsl(61, 55%, 48%)
HSVhsv(61, 71%, 74%)
CMYKcmyk(1.6%, 0%, 70.9%, 25.9%)
CIE-LABlab(74.26, -17.07, 63.49)
CIE-LCHlch(74.26, 65.74, 105.05°)
OKLaboklab(77.22% -0.0533 0.1408)
OKLCHoklch(77.22% 0.151 110.7)
XYZxyz(39.1382, 47.1112, 10.6454)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD37 #3A37BD
analogous
#BD7D37 #BABD37 #77BD37
triadic
#BABD37 #37BABD #BD37BA
tetradic
#BABD37 #37BD7D #3A37BD #BD3777
square
#BABD37 #37BD7D #3A37BD #BD3777
split-complementary
#BABD37 #3777BD #7D37BD
monochromatic
#5D5E1B #8B8E29 #BABD37 #CED160 #DDDF90

Accessibility & contrast

On white

2.01
#BABD37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#BABD37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD37
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD37#FFFFFF#000000##000000
##BABD371.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB51F
Deuteranopia (green-blind)
#CDB841
Tritanopia (blue-blind)
#C7B1A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babd37;
/* rgb */ color: rgb(186, 189, 55);
/* oklch */ color: oklch(77.2% 0.151 110.7);
Tailwind
colors: {
  custom: {
    50: '#d2d077',
    500: '#babd37',
    950: '#000000',
  },
}
SCSS
$custom: #babd37;
$custom-light: #d2d077;
$custom-dark: #000000;
JSON
{
  "hex": "#babd37",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 55
  },
  "hsl": {
    "h": 61.343,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77225,
    "c": 0.15059,
    "h": 110.7
  },
  "luminance": 0.4711
}

Semantic roles & 50–950 ramp

primary
#BABD37
secondary
#8886C9
accent
#4ADE4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BABD37

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

Preview Lab → · Contrast checker → · Palette generator →

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