#8EAF22#8EAF22

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

Color values

HEX#8EAF22
RGBrgb(142, 175, 34)
HSLhsl(74, 67%, 41%)
HSVhsv(74, 81%, 69%)
CMYKcmyk(18.9%, 0%, 80.6%, 31.4%)
CIE-LABlab(66.92, -29.65, 62.27)
CIE-LCHlch(66.92, 68.96, 115.46°)
OKLaboklab(70.48% -0.0874 0.1361)
OKLCHoklch(70.48% 0.162 122.7)
XYZxyz(26.7744, 36.5261, 7.1528)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAF22 #4322AF
analogous
#AF8922 #8EAF22 #47AF22
triadic
#8EAF22 #228EAF #AF228E
tetradic
#8EAF22 #22AF89 #4322AF #AF2247
square
#8EAF22 #22AF89 #4322AF #AF2247
split-complementary
#8EAF22 #2247AF #8922AF
monochromatic
#3B490E #647C18 #8EAF22 #B2D836 #C6E269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EAF22#FFFFFF#000000##000000
##8EAF221.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)
#B5A331
Tritanopia (blue-blind)
#96A695
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8eaf22;
/* rgb */ color: rgb(142, 175, 34);
/* oklch */ color: oklch(70.5% 0.162 122.7);
Tailwind
colors: {
  custom: {
    50: '#b3c76b',
    500: '#8eaf22',
    950: '#000000',
  },
}
SCSS
$custom: #8eaf22;
$custom-light: #b3c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaf22",
  "rgb": {
    "r": 142,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 74.043,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.16171,
    "h": 122.7
  },
  "luminance": 0.36526
}

Semantic roles & 50–950 ramp

primary
#8EAF22
secondary
#7C65C8
accent
#3DEA66
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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