#8EB252#8EB252

#8EB252 is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.6% C 0.131 H 126.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8EB252
RGBrgb(142, 178, 82)
HSLhsl(83, 38%, 51%)
HSVhsv(83, 54%, 70%)
CMYKcmyk(20.2%, 0%, 53.9%, 30.2%)
CIE-LABlab(68.17, -27.75, 44.54)
CIE-LCHlch(68.17, 52.48, 121.92°)
OKLaboklab(71.6% -0.0779 0.1052)
OKLCHoklch(71.6% 0.131 126.6)
XYZxyz(28.5986, 38.2004, 13.8477)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB252 #7652B2
analogous
#B2A652 #8EB252 #5EB252
triadic
#8EB252 #528EB2 #B2528E
tetradic
#8EB252 #52B2A6 #7652B2 #B2525E
square
#8EB252 #52B2A6 #7652B2 #B2525E
split-complementary
#8EB252 #525EB2 #A652B2
monochromatic
#4B5F2A #6D8A3D #8EB252 #AAC57C #C5D8A7

Accessibility & contrast

On white

2.43
#8EB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#8EB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB252
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB252#FFFFFF#000000##000000
##8EB2521.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA849
Deuteranopia (green-blind)
#B5A658
Tritanopia (blue-blind)
#93AB9C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb252;
/* rgb */ color: rgb(142, 178, 82);
/* oklch */ color: oklch(71.6% 0.131 126.6);
Tailwind
colors: {
  custom: {
    50: '#b1c985',
    500: '#8eb252',
    950: '#000000',
  },
}
SCSS
$custom: #8eb252;
$custom-light: #b1c985;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb252",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 82.5,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71602,
    "c": 0.13089,
    "h": 126.6
  },
  "luminance": 0.38201
}

Semantic roles & 50–950 ramp

primary
#8EB252
secondary
#AB9BC5
accent
#59CE85
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8EB252

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

Preview Lab → · Contrast checker → · Palette generator →

#8EB252 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva