#8EB256#8EB256

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

Color values

HEX#8EB256
RGBrgb(142, 178, 86)
HSLhsl(83, 37%, 52%)
HSVhsv(83, 52%, 70%)
CMYKcmyk(20.2%, 0%, 51.7%, 30.2%)
CIE-LABlab(68.21, -27.33, 42.66)
CIE-LCHlch(68.21, 50.67, 122.65°)
OKLaboklab(71.65% -0.0765 0.1014)
OKLCHoklch(71.65% 0.127 127)
XYZxyz(28.7553, 38.2631, 14.6729)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB256 #7A56B2
analogous
#B2A856 #8EB256 #60B256
triadic
#8EB256 #568EB2 #B2568E
tetradic
#8EB256 #56B2A8 #7A56B2 #B25660
square
#8EB256 #56B2A8 #7A56B2 #B25660
split-complementary
#8EB256 #5660B2 #A856B2
monochromatic
#4D612C #6E8B3F #8EB256 #AAC580 #C6D8AA

Accessibility & contrast

On white

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

On black

8.65
#8EB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB256
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB256#FFFFFF#000000##000000
##8EB2561.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8eb256;
/* rgb */ color: rgb(142, 178, 86);
/* oklch */ color: oklch(71.7% 0.127 127.0);
Tailwind
colors: {
  custom: {
    50: '#b1c988',
    500: '#8eb256',
    950: '#000000',
  },
}
SCSS
$custom: #8eb256;
$custom-light: #b1c988;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb256",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 83.478,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71654,
    "c": 0.12699,
    "h": 127
  },
  "luminance": 0.38263
}

Semantic roles & 50–950 ramp

primary
#8EB256
secondary
#AE9EC6
accent
#5ACD87
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130B
muted
#80827C

Preview Lab

Preview with #8EB256

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

Preview Lab → · Contrast checker → · Palette generator →

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