#8EB23B#8EB23B

#8EB23B is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.4% C 0.150 H 124.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8EB23B
RGBrgb(142, 178, 59)
HSLhsl(78, 50%, 46%)
HSVhsv(78, 67%, 70%)
CMYKcmyk(20.2%, 0%, 66.9%, 30.2%)
CIE-LABlab(67.95, -29.70, 54.55)
CIE-LCHlch(67.95, 62.12, 118.57°)
OKLaboklab(71.36% -0.0855 0.1238)
OKLCHoklch(71.36% 0.15 124.6)
XYZxyz(27.8653, 37.9071, 9.9856)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB23B #5F3BB2
analogous
#B29B3B #8EB23B #53B23B
triadic
#8EB23B #3B8EB2 #B23B8E
tetradic
#8EB23B #3BB29B #5F3BB2 #B23B53
square
#8EB23B #3BB29B #5F3BB2 #B23B53
split-complementary
#8EB23B #3B53B2 #9B3BB2
monochromatic
#45561D #69842C #8EB23B #AACA60 #C3DA8E

Accessibility & contrast

On white

2.45
#8EB23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8EB23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB23B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB23B#FFFFFF#000000##000000
##8EB23B1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#94AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8eb23b;
/* rgb */ color: rgb(142, 178, 59);
/* oklch */ color: oklch(71.4% 0.150 124.6);
Tailwind
colors: {
  custom: {
    50: '#b2c977',
    500: '#8eb23b',
    950: '#000000',
  },
}
SCSS
$custom: #8eb23b;
$custom-light: #b2c977;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb23b",
  "rgb": {
    "r": 142,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 78.151,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71358,
    "c": 0.15046,
    "h": 124.6
  },
  "luminance": 0.37907
}

Semantic roles & 50–950 ramp

primary
#8EB23B
secondary
#9885C4
accent
#4EDA78
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8EB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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