#8EAF27#8EAF27

#8EAF27 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.5% C 0.159 H 122.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8EAF27
RGBrgb(142, 175, 39)
HSLhsl(75, 64%, 42%)
HSVhsv(75, 78%, 69%)
CMYKcmyk(18.9%, 0%, 77.7%, 31.4%)
CIE-LABlab(66.94, -29.43, 60.80)
CIE-LCHlch(66.94, 67.55, 115.83°)
OKLaboklab(70.5% -0.0864 0.1338)
OKLCHoklch(70.5% 0.159 122.9)
XYZxyz(26.8519, 36.5571, 7.5607)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAF27 #4827AF
analogous
#AF8C27 #8EAF27 #4AAF27
triadic
#8EAF27 #278EAF #AF278E
tetradic
#8EAF27 #27AF8C #4827AF #AF274A
square
#8EAF27 #27AF8C #4827AF #AF274A
split-complementary
#8EAF27 #274AAF #8C27AF
monochromatic
#3D4B11 #657D1C #8EAF27 #B0D43F #C5DF71

Accessibility & contrast

On white

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

On black

8.31
#8EAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAF27
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAF27#FFFFFF#000000##000000
##8EAF271.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8eaf27;
/* rgb */ color: rgb(142, 175, 39);
/* oklch */ color: oklch(70.5% 0.159 122.9);
Tailwind
colors: {
  custom: {
    50: '#b3c76d',
    500: '#8eaf27',
    950: '#000000',
  },
}
SCSS
$custom: #8eaf27;
$custom-light: #b3c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaf27",
  "rgb": {
    "r": 142,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 74.559,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70503,
    "c": 0.15928,
    "h": 122.9
  },
  "luminance": 0.36557
}

Semantic roles & 50–950 ramp

primary
#8EAF27
secondary
#826BC6
accent
#41E769
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8EAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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