#8EB262#8EB262

#8EB262 is a light, moderate yellow-green. Relative luminance 0.385; OKLCH L 71.8% C 0.115 H 128.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8EB262
RGBrgb(142, 178, 98)
HSLhsl(87, 34%, 54%)
HSVhsv(87, 45%, 70%)
CMYKcmyk(20.2%, 0%, 44.9%, 30.2%)
CIE-LABlab(68.37, -25.97, 36.85)
CIE-LCHlch(68.37, 45.08, 125.17°)
OKLaboklab(71.83% -0.0718 0.0893)
OKLCHoklch(71.83% 0.115 128.8)
XYZxyz(29.2800, 38.4730, 17.4363)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB262 #8662B2
analogous
#B2AE62 #8EB262 #66B262
triadic
#8EB262 #628EB2 #B2628E
tetradic
#8EB262 #62B2AE #8662B2 #B26266
square
#8EB262 #62B2AE #8662B2 #B26266
split-complementary
#8EB262 #6266B2 #AE62B2
monochromatic
#4F6733 #6F9047 #8EB262 #ACC68B #C9DAB4

Accessibility & contrast

On white

2.42
#8EB262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#8EB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB262
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB262#FFFFFF#000000##000000
##8EB2621.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A85C
Deuteranopia (green-blind)
#B4A667
Tritanopia (blue-blind)
#91AC9F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8eb262;
/* rgb */ color: rgb(142, 178, 98);
/* oklch */ color: oklch(71.8% 0.115 128.8);
Tailwind
colors: {
  custom: {
    50: '#b0c990',
    500: '#8eb262',
    950: '#000000',
  },
}
SCSS
$custom: #8eb262;
$custom-light: #b0c990;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb262",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 87,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71828,
    "c": 0.11458,
    "h": 128.8
  },
  "luminance": 0.38473
}

Semantic roles & 50–950 ramp

primary
#8EB262
secondary
#B6A7C9
accent
#5ECA8E
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8EB262

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

Preview Lab → · Contrast checker → · Palette generator →

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