#8EAD1F#8EAD1F

#8EAD1F is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 70.0% C 0.161 H 122.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8EAD1F
RGBrgb(142, 173, 31)
HSLhsl(73, 70%, 40%)
HSVhsv(73, 82%, 68%)
CMYKcmyk(17.9%, 0%, 82.1%, 32.2%)
CIE-LABlab(66.32, -28.81, 62.56)
CIE-LCHlch(66.32, 68.87, 114.73°)
OKLaboklab(69.99% -0.0853 0.1362)
OKLCHoklch(69.99% 0.161 122.1)
XYZxyz(26.3467, 35.7368, 6.8059)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAD1F #3E1FAD
analogous
#AD851F #8EAD1F #47AD1F
triadic
#8EAD1F #1F8EAD #AD1F8E
tetradic
#8EAD1F #1FAD85 #3E1FAD #AD1F47
square
#8EAD1F #1FAD85 #3E1FAD #AD1F47
split-complementary
#8EAD1F #1F47AD #851FAD
monochromatic
#39450C #637916 #8EAD1F #B5DA2F #C7E363

Accessibility & contrast

On white

2.58
#8EAD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#8EAD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAD1F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAD1F#FFFFFF#000000##000000
##8EAD1F1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#96A494
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8ead1f;
/* rgb */ color: rgb(142, 173, 31);
/* oklch */ color: oklch(70.0% 0.161 122.1);
Tailwind
colors: {
  custom: {
    50: '#b3c569',
    500: '#8ead1f',
    950: '#000000',
  },
}
SCSS
$custom: #8ead1f;
$custom-light: #b3c569;
$custom-dark: #000000;
JSON
{
  "hex": "#8ead1f",
  "rgb": {
    "r": 142,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 73.099,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.69986,
    "c": 0.16069,
    "h": 122.1
  },
  "luminance": 0.35737
}

Semantic roles & 50–950 ramp

primary
#8EAD1F
secondary
#7760C8
accent
#3BEC62
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EAD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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