#8EAF26#8EAF26

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

Color values

HEX#8EAF26
RGBrgb(142, 175, 38)
HSLhsl(74, 64%, 42%)
HSVhsv(74, 78%, 69%)
CMYKcmyk(18.9%, 0%, 78.3%, 31.4%)
CIE-LABlab(66.94, -29.48, 61.11)
CIE-LCHlch(66.94, 67.84, 115.75°)
OKLaboklab(70.5% -0.0866 0.1343)
OKLCHoklch(70.5% 0.16 122.8)
XYZxyz(26.8355, 36.5505, 7.4745)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAF26 #4726AF
analogous
#AF8C26 #8EAF26 #49AF26
triadic
#8EAF26 #268EAF #AF268E
tetradic
#8EAF26 #26AF8C #4726AF #AF2649
square
#8EAF26 #26AF8C #4726AF #AF2649
split-complementary
#8EAF26 #2649AF #8C26AF
monochromatic
#3C4A10 #657D1B #8EAF26 #B0D53D #C5E070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EAF26#FFFFFF#000000##000000
##8EAF261.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: #8eaf26;
/* rgb */ color: rgb(142, 175, 38);
/* oklch */ color: oklch(70.5% 0.160 122.8);
Tailwind
colors: {
  custom: {
    50: '#b3c76c',
    500: '#8eaf26',
    950: '#000000',
  },
}
SCSS
$custom: #8eaf26;
$custom-light: #b3c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaf26",
  "rgb": {
    "r": 142,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 74.453,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70497,
    "c": 0.1598,
    "h": 122.8
  },
  "luminance": 0.36551
}

Semantic roles & 50–950 ramp

primary
#8EAF26
secondary
#806AC7
accent
#40E769
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8EAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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