#BAE271#BAE271

#BAE271 is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 86.0% C 0.148 H 125.5°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#BAE271
RGBrgb(186, 226, 113)
HSLhsl(81, 66%, 66%)
HSVhsv(81, 50%, 89%)
CMYKcmyk(17.7%, 0%, 50%, 11.4%)
CIE-LABlab(85.01, -30.61, 50.54)
CIE-LCHlch(85.01, 59.09, 121.20°)
OKLaboklab(86.02% -0.0857 0.1203)
OKLCHoklch(86.02% 0.148 125.5)
XYZxyz(50.4266, 66.0236, 25.7068)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAE271 #9971E2
analogous
#E2D271 #BAE271 #82E271
triadic
#BAE271 #71BAE2 #E271BA
tetradic
#BAE271 #71E2D2 #9971E2 #E27182
square
#BAE271 #71E2D2 #9971E2 #E27182
split-complementary
#BAE271 #7182E2 #D271E2
monochromatic
#81B425 #A1D83E #BAE271 #D3ECA4 #EBF7D7

Accessibility & contrast

On white

1.48
#BAE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#BAE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAE271
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAE271#FFFFFF#000000##000000
##BAE2711.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD667
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#C0D9C8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #bae271;
/* rgb */ color: rgb(186, 226, 113);
/* oklch */ color: oklch(86.0% 0.148 125.5);
Tailwind
colors: {
  custom: {
    50: '#d1eb9c',
    500: '#bae271',
    950: '#000000',
  },
}
SCSS
$custom: #bae271;
$custom-light: #d1eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#bae271",
  "rgb": {
    "r": 186,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 81.239,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86017,
    "c": 0.14774,
    "h": 125.5
  },
  "luminance": 0.66024
}

Semantic roles & 50–950 ramp

primary
#BAE271
secondary
#6B42B5
accent
#18CE58
background
#FEFEFC
surface
#FBFDF5
border
#D4D5CF
text
#14160E
muted
#83847F

Preview Lab

Preview with #BAE271

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

Preview Lab → · Contrast checker → · Palette generator →

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