#8EB123#8EB123

#8EB123 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.0% C 0.164 H 123.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8EB123
RGBrgb(142, 177, 35)
HSLhsl(75, 67%, 42%)
HSVhsv(75, 80%, 69%)
CMYKcmyk(19.8%, 0%, 80.2%, 30.6%)
CIE-LABlab(67.51, -30.55, 62.52)
CIE-LCHlch(67.51, 69.58, 116.05°)
OKLaboklab(70.96% -0.0898 0.1368)
OKLCHoklch(70.96% 0.164 123.3)
XYZxyz(27.1812, 37.3162, 7.3606)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EB123 #4623B1
analogous
#B18D23 #8EB123 #47B123
triadic
#8EB123 #238EB1 #B1238E
tetradic
#8EB123 #23B18D #4623B1 #B12347
square
#8EB123 #23B18D #4623B1 #B12347
split-complementary
#8EB123 #2347B1 #8D23B1
monochromatic
#3C4B0F #657E19 #8EB123 #B1D839 #C5E26C

Accessibility & contrast

On white

2.48
#8EB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#8EB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EB123
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EB123#FFFFFF#000000##000000
##8EB1231.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#96A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8eb123;
/* rgb */ color: rgb(142, 177, 35);
/* oklch */ color: oklch(71.0% 0.164 123.3);
Tailwind
colors: {
  custom: {
    50: '#b3c86b',
    500: '#8eb123',
    950: '#000000',
  },
}
SCSS
$custom: #8eb123;
$custom-light: #b3c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eb123",
  "rgb": {
    "r": 142,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 74.789,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70958,
    "c": 0.1636,
    "h": 123.3
  },
  "luminance": 0.37316
}

Semantic roles & 50–950 ramp

primary
#8EB123
secondary
#7F68C8
accent
#3EEA68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EB123

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

Preview Lab → · Contrast checker → · Palette generator →

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