#BAEB51#BAEB51

#BAEB51 is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 87.7% C 0.186 H 125.3°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#BAEB51
RGBrgb(186, 235, 81)
HSLhsl(79, 79%, 62%)
HSVhsv(79, 66%, 92%)
CMYKcmyk(20.9%, 0%, 65.5%, 7.8%)
CIE-LABlab(87.22, -37.42, 66.85)
CIE-LCHlch(87.22, 76.61, 119.24°)
OKLaboklab(87.7% -0.1074 0.1519)
OKLCHoklch(87.7% 0.186 125.3)
XYZxyz(51.4435, 70.4492, 18.6708)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAEB51 #8251EB
analogous
#EBCF51 #BAEB51 #6DEB51
triadic
#BAEB51 #51BAEB #EB51BA
tetradic
#BAEB51 #51EBCF #8251EB #EB516D
square
#BAEB51 #51EBCF #8251EB #EB516D
split-complementary
#BAEB51 #516DEB #CF51EB
monochromatic
#7DAE14 #A4E51A #BAEB51 #D0F188 #E6F8BF

Accessibility & contrast

On white

1.39
#BAEB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#BAEB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAEB51
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAEB51#FFFFFF#000000##000000
##BAEB511.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3C
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#C2E0CC
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #baeb51;
/* rgb */ color: rgb(186, 235, 81);
/* oklch */ color: oklch(87.7% 0.186 125.3);
Tailwind
colors: {
  custom: {
    50: '#d2f189',
    500: '#baeb51',
    950: '#000000',
  },
}
SCSS
$custom: #baeb51;
$custom-light: #d2f189;
$custom-dark: #000000;
JSON
{
  "hex": "#baeb51",
  "rgb": {
    "r": 186,
    "g": 235,
    "b": 81
  },
  "hsl": {
    "h": 79.091,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87703,
    "c": 0.18603,
    "h": 125.3
  },
  "luminance": 0.7045
}

Semantic roles & 50–950 ramp

primary
#BAEB51
secondary
#5932AE
accent
#0ADC4D
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #BAEB51

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

Preview Lab → · Contrast checker → · Palette generator →

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