#8EAF20#8EAF20

#8EAF20 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.5% C 0.163 H 122.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8EAF20
RGBrgb(142, 175, 32)
HSLhsl(74, 69%, 41%)
HSVhsv(74, 82%, 69%)
CMYKcmyk(18.9%, 0%, 81.7%, 31.4%)
CIE-LABlab(66.91, -29.73, 62.81)
CIE-LCHlch(66.91, 69.49, 115.33°)
OKLaboklab(70.47% -0.0877 0.1369)
OKLCHoklch(70.47% 0.163 122.7)
XYZxyz(26.7464, 36.5149, 7.0052)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAF20 #4120AF
analogous
#AF8820 #8EAF20 #47AF20
triadic
#8EAF20 #208EAF #AF208E
tetradic
#8EAF20 #20AF88 #4120AF #AF2047
square
#8EAF20 #20AF88 #4120AF #AF2047
split-complementary
#8EAF20 #2047AF #8820AF
monochromatic
#3A480D #647B17 #8EAF20 #B3DA33 #C6E366

Accessibility & contrast

On white

2.53
#8EAF20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#8EAF20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAF20
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAF20#FFFFFF#000000##000000
##8EAF201.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#96A695
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8eaf20;
/* rgb */ color: rgb(142, 175, 32);
/* oklch */ color: oklch(70.5% 0.163 122.7);
Tailwind
colors: {
  custom: {
    50: '#b3c76a',
    500: '#8eaf20',
    950: '#000000',
  },
}
SCSS
$custom: #8eaf20;
$custom-light: #b3c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaf20",
  "rgb": {
    "r": 142,
    "g": 175,
    "b": 32
  },
  "hsl": {
    "h": 73.846,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70467,
    "c": 0.16259,
    "h": 122.7
  },
  "luminance": 0.36515
}

Semantic roles & 50–950 ramp

primary
#8EAF20
secondary
#7A62C8
accent
#3CEC65
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EAF20

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

Preview Lab → · Contrast checker → · Palette generator →

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