#B8E052#B8E052

#B8E052 is a very light, vivid yellow-green. Relative luminance 0.641; OKLCH L 85.1% C 0.173 H 123.5°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#B8E052
RGBrgb(184, 224, 82)
HSLhsl(77, 70%, 60%)
HSVhsv(77, 63%, 88%)
CMYKcmyk(17.9%, 0%, 63.4%, 12.2%)
CIE-LABlab(84.02, -33.11, 63.04)
CIE-LCHlch(84.02, 71.20, 117.71°)
OKLaboklab(85.09% -0.0953 0.144)
OKLCHoklch(85.09% 0.173 123.5)
XYZxyz(47.9462, 64.1106, 17.8296)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8E052 #7A52E0
analogous
#E0C152 #B8E052 #71E052
triadic
#B8E052 #52B8E0 #E052B8
tetradic
#B8E052 #52E0C1 #7A52E0 #E05271
square
#B8E052 #52E0C1 #7A52E0 #E05271
split-complementary
#B8E052 #5271E0 #C152E0
monochromatic
#789C1C #A0D025 #B8E052 #CDE986 #E3F3BA

Accessibility & contrast

On white

1.52
#B8E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#B8E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8E052
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8E052#FFFFFF#000000##000000
##B8E0521.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD340
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#C0D5C3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b8e052;
/* rgb */ color: rgb(184, 224, 82);
/* oklch */ color: oklch(85.1% 0.173 123.5);
Tailwind
colors: {
  custom: {
    50: '#d0e989',
    500: '#b8e052',
    950: '#000000',
  },
}
SCSS
$custom: #b8e052;
$custom-light: #d0e989;
$custom-dark: #000000;
JSON
{
  "hex": "#b8e052",
  "rgb": {
    "r": 184,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 76.901,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.85093,
    "c": 0.17268,
    "h": 123.5
  },
  "luminance": 0.64111
}

Semantic roles & 50–950 ramp

primary
#B8E052
secondary
#54379F
accent
#3BEC6D
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B8E052

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

Preview Lab → · Contrast checker → · Palette generator →

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