#8EB251#8EB251

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

Color values

HEX#8EB251
RGBrgb(142, 178, 81)
HSLhsl(82, 39%, 51%)
HSVhsv(82, 54%, 70%)
CMYKcmyk(20.2%, 0%, 54.5%, 30.2%)
CIE-LABlab(68.16, -27.85, 45.00)
CIE-LCHlch(68.16, 52.92, 121.75°)
OKLaboklab(71.59% -0.0783 0.1061)
OKLCHoklch(71.59% 0.132 126.4)
XYZxyz(28.5609, 38.1853, 13.6488)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB251 #7551B2
analogous
#B2A551 #8EB251 #5DB251
triadic
#8EB251 #518EB2 #B2518E
tetradic
#8EB251 #51B2A5 #7551B2 #B2515D
square
#8EB251 #51B2A5 #7551B2 #B2515D
split-complementary
#8EB251 #515DB2 #A551B2
monochromatic
#4B5F2A #6D893D #8EB251 #AAC57B #C5D8A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB251#FFFFFF#000000##000000
##8EB2511.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)
#BAA848
Deuteranopia (green-blind)
#B5A657
Tritanopia (blue-blind)
#93AB9C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb251;
/* rgb */ color: rgb(142, 178, 81);
/* oklch */ color: oklch(71.6% 0.132 126.4);
Tailwind
colors: {
  custom: {
    50: '#b1c985',
    500: '#8eb251',
    950: '#000000',
  },
}
SCSS
$custom: #8eb251;
$custom-light: #b1c985;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb251",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 82.268,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.13185,
    "h": 126.4
  },
  "luminance": 0.38186
}

Semantic roles & 50–950 ramp

primary
#8EB251
secondary
#AA9AC5
accent
#59CF85
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8EB251

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

Preview Lab → · Contrast checker → · Palette generator →

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