#BAE971#BAE971

#BAE971 is a very light, vivid yellow-green. Relative luminance 0.699; OKLCH L 87.6% C 0.157 H 127.1°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#BAE971
RGBrgb(186, 233, 113)
HSLhsl(84, 73%, 68%)
HSVhsv(84, 52%, 91%)
CMYKcmyk(20.2%, 0%, 51.5%, 8.6%)
CIE-LABlab(86.95, -33.85, 52.86)
CIE-LCHlch(86.95, 62.77, 122.64°)
OKLaboklab(87.58% -0.0948 0.1254)
OKLCHoklch(87.58% 0.157 127.1)
XYZxyz(52.3690, 69.9085, 26.3542)
Luminance0.6991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAE971 #A071E9
analogous
#E9DC71 #BAE971 #7EE971
triadic
#BAE971 #71BAE9 #E971BA
tetradic
#BAE971 #71E9DC #A071E9 #E9717E
square
#BAE971 #71E9DC #A071E9 #E9717E
split-complementary
#BAE971 #717EE9 #DC71E9
monochromatic
#82C21E #A0E13C #BAE971 #D4F1A6 #EDF9DB

Accessibility & contrast

On white

1.40
#BAE971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#BAE971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAE971
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAE971#FFFFFF#000000##000000
##BAE9711.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC66
Deuteranopia (green-blind)
#EDD978
Tritanopia (blue-blind)
#C0E0CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #bae971;
/* rgb */ color: rgb(186, 233, 113);
/* oklch */ color: oklch(87.6% 0.157 127.1);
Tailwind
colors: {
  custom: {
    50: '#d1f09d',
    500: '#bae971',
    950: '#000000',
  },
}
SCSS
$custom: #bae971;
$custom-light: #d1f09d;
$custom-dark: #000000;
JSON
{
  "hex": "#bae971",
  "rgb": {
    "r": 186,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 83.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87583,
    "c": 0.15719,
    "h": 127.1
  },
  "luminance": 0.69909
}

Semantic roles & 50–950 ramp

primary
#BAE971
secondary
#713EC0
accent
#10D55D
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14160E
muted
#83857F

Preview Lab

Preview with #BAE971

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

Preview Lab → · Contrast checker → · Palette generator →

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