#8EB257#8EB257

#8EB257 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.7% C 0.126 H 127.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8EB257
RGBrgb(142, 178, 87)
HSLhsl(84, 37%, 52%)
HSVhsv(84, 51%, 70%)
CMYKcmyk(20.2%, 0%, 51.1%, 30.2%)
CIE-LABlab(68.23, -27.23, 42.18)
CIE-LCHlch(68.23, 50.21, 122.84°)
OKLaboklab(71.67% -0.0761 0.1004)
OKLCHoklch(71.67% 0.126 127.1)
XYZxyz(28.7959, 38.2793, 14.8865)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB257 #7B57B2
analogous
#B2A957 #8EB257 #61B257
triadic
#8EB257 #578EB2 #B2578E
tetradic
#8EB257 #57B2A9 #7B57B2 #B25761
square
#8EB257 #57B2A9 #7B57B2 #B25761
split-complementary
#8EB257 #5761B2 #A957B2
monochromatic
#4D622D #6E8C40 #8EB257 #AAC581 #C6D8AB

Accessibility & contrast

On white

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

On black

8.66
#8EB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB257
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB257#FFFFFF#000000##000000
##8EB2571.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84F
Deuteranopia (green-blind)
#B5A65D
Tritanopia (blue-blind)
#92AB9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb257;
/* rgb */ color: rgb(142, 178, 87);
/* oklch */ color: oklch(71.7% 0.126 127.1);
Tailwind
colors: {
  custom: {
    50: '#b1c989',
    500: '#8eb257',
    950: '#000000',
  },
}
SCSS
$custom: #8eb257;
$custom-light: #b1c989;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb257",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 83.736,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.126,
    "h": 127.1
  },
  "luminance": 0.3828
}

Semantic roles & 50–950 ramp

primary
#8EB257
secondary
#AE9EC6
accent
#5BCD88
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8EB257

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

Preview Lab → · Contrast checker → · Palette generator →

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