#BABF33#BABF33

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

Color values

HEX#BABF33
RGBrgb(186, 191, 51)
HSLhsl(62, 58%, 47%)
HSVhsv(62, 73%, 75%)
CMYKcmyk(2.6%, 0%, 73.3%, 25.1%)
CIE-LABlab(74.79, -18.26, 65.39)
CIE-LCHlch(74.79, 67.89, 105.61°)
OKLaboklab(77.64% -0.057 0.1442)
OKLCHoklch(77.64% 0.155 111.6)
XYZxyz(39.4794, 47.9407, 10.3051)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF33 #3833BF
analogous
#BF7E33 #BABF33 #74BF33
triadic
#BABF33 #33BABF #BF33BA
tetradic
#BABF33 #33BF7E #3833BF #BF3374
square
#BABF33 #33BF7E #3833BF #BF3374
split-complementary
#BABF33 #3374BF #7E33BF
monochromatic
#5C5E19 #8B8F26 #BABF33 #CFD35C #DDE08C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABF33#FFFFFF#000000##000000
##BABF331.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)
#CEB616
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#C7B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf33;
/* rgb */ color: rgb(186, 191, 51);
/* oklch */ color: oklch(77.6% 0.155 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d275',
    500: '#babf33',
    950: '#000000',
  },
}
SCSS
$custom: #babf33;
$custom-light: #d2d275;
$custom-dark: #000000;
JSON
{
  "hex": "#babf33",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 51
  },
  "hsl": {
    "h": 62.143,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77638,
    "c": 0.15502,
    "h": 111.6
  },
  "luminance": 0.4794
}

Semantic roles & 50–950 ramp

primary
#BABF33
secondary
#8683CB
accent
#47E14C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BABF33

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

Preview Lab → · Contrast checker → · Palette generator →

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