#8EAC2B#8EAC2B

#8EAC2B is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.8% C 0.154 H 122.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8EAC2B
RGBrgb(142, 172, 43)
HSLhsl(74, 60%, 42%)
HSVhsv(74, 75%, 67%)
CMYKcmyk(17.4%, 0%, 75%, 32.5%)
CIE-LABlab(66.08, -27.80, 58.69)
CIE-LCHlch(66.08, 64.94, 115.35°)
OKLaboklab(69.81% -0.0816 0.13)
OKLCHoklch(69.81% 0.154 122.1)
XYZxyz(26.3443, 35.4302, 7.7359)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAC2B #492BAC
analogous
#AC892B #8EAC2B #4EAC2B
triadic
#8EAC2B #2B8EAC #AC2B8E
tetradic
#8EAC2B #2BAC89 #492BAC #AC2B4E
square
#8EAC2B #2BAC89 #492BAC #AC2B4E
split-complementary
#8EAC2B #2B4EAC #892BAC
monochromatic
#3D4A13 #667B1F #8EAC2B #B0D044 #C4DC75

Accessibility & contrast

On white

2.60
#8EAC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#8EAC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAC2B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAC2B#FFFFFF#000000##000000
##8EAC2B1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10E
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#96A393
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8eac2b;
/* rgb */ color: rgb(142, 172, 43);
/* oklch */ color: oklch(69.8% 0.154 122.1);
Tailwind
colors: {
  custom: {
    50: '#b3c46e',
    500: '#8eac2b',
    950: '#000000',
  },
}
SCSS
$custom: #8eac2b;
$custom-light: #b3c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8eac2b",
  "rgb": {
    "r": 142,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 73.953,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69814,
    "c": 0.15351,
    "h": 122.1
  },
  "luminance": 0.3543
}

Semantic roles & 50–950 ramp

primary
#8EAC2B
secondary
#836FC4
accent
#45E36A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8EAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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