#BABF32#BABF32

#BABF32 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.156 H 111.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#BABF32
RGBrgb(186, 191, 50)
HSLhsl(62, 59%, 47%)
HSVhsv(62, 74%, 75%)
CMYKcmyk(2.6%, 0%, 73.8%, 25.1%)
CIE-LABlab(74.78, -18.31, 65.72)
CIE-LCHlch(74.78, 68.22, 105.57°)
OKLaboklab(77.63% -0.0572 0.1447)
OKLCHoklch(77.63% 0.156 111.6)
XYZxyz(39.4575, 47.9320, 10.1903)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF32 #3732BF
analogous
#BF7E32 #BABF32 #73BF32
triadic
#BABF32 #32BABF #BF32BA
tetradic
#BABF32 #32BF7E #3732BF #BF3273
square
#BABF32 #32BF7E #3732BF #BF3273
split-complementary
#BABF32 #3273BF #7E32BF
monochromatic
#5C5E19 #8B8E25 #BABF32 #D0D45A #DEE18B

Accessibility & contrast

On white

1.98
#BABF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#BABF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABF32
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABF32#FFFFFF#000000##000000
##BABF321.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB613
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#C7B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf32;
/* rgb */ color: rgb(186, 191, 50);
/* oklch */ color: oklch(77.6% 0.156 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d275',
    500: '#babf32',
    950: '#000000',
  },
}
SCSS
$custom: #babf32;
$custom-light: #d2d275;
$custom-dark: #000000;
JSON
{
  "hex": "#babf32",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 50
  },
  "hsl": {
    "h": 62.128,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77632,
    "c": 0.15558,
    "h": 111.6
  },
  "luminance": 0.47931
}

Semantic roles & 50–950 ramp

primary
#BABF32
secondary
#8582CB
accent
#46E24C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BABF32

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

Preview Lab → · Contrast checker → · Palette generator →

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