#8EA252#8EA252

#8EA252 is a light, moderate yellow-green. Relative luminance 0.322; OKLCH L 67.9% C 0.108 H 120.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8EA252
RGBrgb(142, 162, 82)
HSLhsl(75, 33%, 48%)
HSVhsv(75, 49%, 64%)
CMYKcmyk(12.3%, 0%, 49.4%, 36.5%)
CIE-LABlab(63.51, -19.81, 38.99)
CIE-LCHlch(63.51, 43.73, 116.94°)
OKLaboklab(67.85% -0.0557 0.093)
OKLCHoklch(67.85% 0.108 120.9)
XYZxyz(25.5988, 32.2007, 12.8478)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA252 #6652A2
analogous
#A28E52 #8EA252 #66A252
triadic
#8EA252 #528EA2 #A2528E
tetradic
#8EA252 #52A28E #6652A2 #A25266
square
#8EA252 #52A28E #6652A2 #A25266
split-complementary
#8EA252 #5266A2 #8E52A2
monochromatic
#475129 #6A793D #8EA252 #A9BA77 #C3CFA0

Accessibility & contrast

On white

2.82
#8EA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8EA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA252
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA252#FFFFFF#000000##000000
##8EA2521.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A4B
Deuteranopia (green-blind)
#A89A56
Tritanopia (blue-blind)
#949B8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ea252;
/* rgb */ color: rgb(142, 162, 82);
/* oklch */ color: oklch(67.9% 0.108 120.9);
Tailwind
colors: {
  custom: {
    50: '#b0bd84',
    500: '#8ea252',
    950: '#000000',
  },
}
SCSS
$custom: #8ea252;
$custom-light: #b0bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea252",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 75,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.67853,
    "c": 0.10843,
    "h": 120.9
  },
  "luminance": 0.32201
}

Semantic roles & 50–950 ramp

primary
#8EA252
secondary
#9E94BC
accent
#5FC979
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #8EA252

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

Preview Lab → · Contrast checker → · Palette generator →

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