#8EAA1F#8EAA1F

#8EAA1F is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.3% C 0.157 H 121.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8EAA1F
RGBrgb(142, 170, 31)
HSLhsl(72, 69%, 39%)
HSVhsv(72, 82%, 67%)
CMYKcmyk(16.5%, 0%, 81.8%, 33.3%)
CIE-LABlab(65.44, -27.37, 61.78)
CIE-LCHlch(65.44, 67.57, 113.89°)
OKLaboklab(69.27% -0.0814 0.1345)
OKLCHoklch(69.27% 0.157 121.2)
XYZxyz(25.7779, 34.5992, 6.6163)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAA1F #3B1FAA
analogous
#AA801F #8EAA1F #49AA1F
triadic
#8EAA1F #1F8EAA #AA1F8E
tetradic
#8EAA1F #1FAA80 #3B1FAA #AA1F49
square
#8EAA1F #1FAA80 #3B1FAA #AA1F49
split-complementary
#8EAA1F #1F49AA #801FAA
monochromatic
#38420C #637616 #8EAA1F #B6D92D #C8E261

Accessibility & contrast

On white

2.65
#8EAA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#8EAA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAA1F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAA1F#FFFFFF#000000##000000
##8EAA1F1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B19F2E
Tritanopia (blue-blind)
#96A191
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8eaa1f;
/* rgb */ color: rgb(142, 170, 31);
/* oklch */ color: oklch(69.3% 0.157 121.2);
Tailwind
colors: {
  custom: {
    50: '#b3c369',
    500: '#8eaa1f',
    950: '#000000',
  },
}
SCSS
$custom: #8eaa1f;
$custom-light: #b3c369;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaa1f",
  "rgb": {
    "r": 142,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 72.086,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69273,
    "c": 0.15722,
    "h": 121.2
  },
  "luminance": 0.34599
}

Semantic roles & 50–950 ramp

primary
#8EAA1F
secondary
#735EC7
accent
#3CEC5F
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EAA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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