#8EB258#8EB258

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

Color values

HEX#8EB258
RGBrgb(142, 178, 88)
HSLhsl(84, 37%, 52%)
HSVhsv(84, 51%, 70%)
CMYKcmyk(20.2%, 0%, 50.6%, 30.2%)
CIE-LABlab(68.24, -27.12, 41.71)
CIE-LCHlch(68.24, 49.75, 123.03°)
OKLaboklab(71.68% -0.0757 0.0995)
OKLCHoklch(71.68% 0.125 127.3)
XYZxyz(28.8370, 38.2958, 15.1032)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB258 #7C58B2
analogous
#B2A958 #8EB258 #61B258
triadic
#8EB258 #588EB2 #B2588E
tetradic
#8EB258 #58B2A9 #7C58B2 #B25861
square
#8EB258 #58B2A9 #7C58B2 #B25861
split-complementary
#8EB258 #5861B2 #A958B2
monochromatic
#4D622D #6E8C41 #8EB258 #AAC582 #C7D9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EB258#FFFFFF#000000##000000
##8EB2581.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)
#BAA850
Deuteranopia (green-blind)
#B5A65D
Tritanopia (blue-blind)
#92AB9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb258;
/* rgb */ color: rgb(142, 178, 88);
/* oklch */ color: oklch(71.7% 0.125 127.3);
Tailwind
colors: {
  custom: {
    50: '#b1c989',
    500: '#8eb258',
    950: '#000000',
  },
}
SCSS
$custom: #8eb258;
$custom-light: #b1c989;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb258",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 84,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71681,
    "c": 0.125,
    "h": 127.3
  },
  "luminance": 0.38296
}

Semantic roles & 50–950 ramp

primary
#8EB258
secondary
#AF9FC7
accent
#5BCD89
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8EB258

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

Preview Lab → · Contrast checker → · Palette generator →

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