#BABD32#BABD32

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

Color values

HEX#BABD32
RGBrgb(186, 189, 50)
HSLhsl(61, 58%, 47%)
HSVhsv(61, 74%, 74%)
CMYKcmyk(1.6%, 0%, 73.5%, 25.9%)
CIE-LABlab(74.23, -17.31, 65.20)
CIE-LCHlch(74.23, 67.46, 104.87°)
OKLaboklab(77.19% -0.0544 0.1436)
OKLCHoklch(77.19% 0.154 110.8)
XYZxyz(39.0244, 47.0657, 10.0459)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD32 #3532BD
analogous
#BD7B32 #BABD32 #75BD32
triadic
#BABD32 #32BABD #BD32BA
tetradic
#BABD32 #32BD7B #3532BD #BD3275
square
#BABD32 #32BD7B #3532BD #BD3275
split-complementary
#BABD32 #3275BD #7B32BD
monochromatic
#5B5C18 #8A8D25 #BABD32 #D0D359 #DEE089

Accessibility & contrast

On white

2.02
#BABD32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#BABD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD32
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD32#FFFFFF#000000##000000
##BABD321.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB514
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#C7B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd32;
/* rgb */ color: rgb(186, 189, 50);
/* oklch */ color: oklch(77.2% 0.154 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2d074',
    500: '#babd32',
    950: '#000000',
  },
}
SCSS
$custom: #babd32;
$custom-light: #d2d074;
$custom-dark: #000000;
JSON
{
  "hex": "#babd32",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 50
  },
  "hsl": {
    "h": 61.295,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77192,
    "c": 0.15354,
    "h": 110.8
  },
  "luminance": 0.47065
}

Semantic roles & 50–950 ramp

primary
#BABD32
secondary
#8281CA
accent
#46E14A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABD32

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

Preview Lab → · Contrast checker → · Palette generator →

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