#BABF36#BABF36

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

Color values

HEX#BABF36
RGBrgb(186, 191, 54)
HSLhsl(62, 56%, 48%)
HSVhsv(62, 72%, 75%)
CMYKcmyk(2.6%, 0%, 71.7%, 25.1%)
CIE-LABlab(74.80, -18.12, 64.37)
CIE-LCHlch(74.80, 66.87, 105.72°)
OKLaboklab(77.66% -0.0563 0.1425)
OKLCHoklch(77.66% 0.153 111.6)
XYZxyz(39.5476, 47.9680, 10.6648)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF36 #3B36BF
analogous
#BF7F36 #BABF36 #75BF36
triadic
#BABF36 #36BABF #BF36BA
tetradic
#BABF36 #36BF7F #3B36BF #BF3675
square
#BABF36 #36BF7F #3B36BF #BF3675
split-complementary
#BABF36 #3675BF #7F36BF
monochromatic
#5D601B #8C8F29 #BABF36 #CED260 #DDE090

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABF36#FFFFFF#000000##000000
##BABF361.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)
#CEB61C
Deuteranopia (green-blind)
#CEBA41
Tritanopia (blue-blind)
#C7B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf36;
/* rgb */ color: rgb(186, 191, 54);
/* oklch */ color: oklch(77.7% 0.153 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d277',
    500: '#babf36',
    950: '#000000',
  },
}
SCSS
$custom: #babf36;
$custom-light: #d2d277;
$custom-dark: #000000;
JSON
{
  "hex": "#babf36",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 54
  },
  "hsl": {
    "h": 62.19,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77658,
    "c": 0.15326,
    "h": 111.6
  },
  "luminance": 0.47967
}

Semantic roles & 50–950 ramp

primary
#BABF36
secondary
#8987CA
accent
#49DF4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BABF36

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

Preview Lab → · Contrast checker → · Palette generator →

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