#BAE252#BAE252

#BAE252 is a very light, vivid yellow-green. Relative luminance 0.654; OKLCH L 85.7% C 0.174 H 123.4°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#BAE252
RGBrgb(186, 226, 82)
HSLhsl(77, 71%, 60%)
HSVhsv(77, 64%, 89%)
CMYKcmyk(17.7%, 0%, 63.7%, 11.4%)
CIE-LABlab(84.71, -33.26, 63.81)
CIE-LCHlch(84.71, 71.96, 117.53°)
OKLaboklab(85.68% -0.0958 0.1456)
OKLCHoklch(85.68% 0.174 123.4)
XYZxyz(48.9695, 65.4407, 18.0325)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAE252 #7A52E2
analogous
#E2C252 #BAE252 #72E252
triadic
#BAE252 #52BAE2 #E252BA
tetradic
#BAE252 #52E2C2 #7A52E2 #E25272
square
#BAE252 #52E2C2 #7A52E2 #E25272
split-complementary
#BAE252 #5272E2 #C252E2
monochromatic
#7A9F1B #A2D323 #BAE252 #CFEB86 #E4F4BB

Accessibility & contrast

On white

1.49
#BAE252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#BAE252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAE252
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAE252#FFFFFF#000000##000000
##BAE2521.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED53F
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#C3D7C4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #bae252;
/* rgb */ color: rgb(186, 226, 82);
/* oklch */ color: oklch(85.7% 0.174 123.4);
Tailwind
colors: {
  custom: {
    50: '#d2eb89',
    500: '#bae252',
    950: '#000000',
  },
}
SCSS
$custom: #bae252;
$custom-light: #d2eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#bae252",
  "rgb": {
    "r": 186,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 76.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8568,
    "c": 0.1743,
    "h": 123.4
  },
  "luminance": 0.65441
}

Semantic roles & 50–950 ramp

primary
#BAE252
secondary
#5436A2
accent
#12D348
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #BAE252

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

Preview Lab → · Contrast checker → · Palette generator →

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