#8EAF2D#8EAF2D

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

Color values

HEX#8EAF2D
RGBrgb(142, 175, 45)
HSLhsl(75, 59%, 43%)
HSVhsv(75, 74%, 69%)
CMYKcmyk(18.9%, 0%, 74.3%, 31.4%)
CIE-LABlab(66.98, -29.14, 58.86)
CIE-LCHlch(66.98, 65.67, 116.34°)
OKLaboklab(70.54% -0.0851 0.1307)
OKLCHoklch(70.54% 0.156 123.1)
XYZxyz(26.9593, 36.6000, 8.1263)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAF2D #4E2DAF
analogous
#AF8F2D #8EAF2D #4DAF2D
triadic
#8EAF2D #2D8EAF #AF2D8E
tetradic
#8EAF2D #2DAF8F #4E2DAF #AF2D4D
square
#8EAF2D #2DAF8F #4E2DAF #AF2D4D
split-complementary
#8EAF2D #2D4DAF #8F2DAF
monochromatic
#3F4E14 #667E20 #8EAF2D #AED049 #C4DD7A

Accessibility & contrast

On white

2.52
#8EAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#8EAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAF2D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAF2D#FFFFFF#000000##000000
##8EAF2D1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A412
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#95A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8eaf2d;
/* rgb */ color: rgb(142, 175, 45);
/* oklch */ color: oklch(70.5% 0.156 123.1);
Tailwind
colors: {
  custom: {
    50: '#b3c770',
    500: '#8eaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #8eaf2d;
$custom-light: #b3c770;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaf2d",
  "rgb": {
    "r": 142,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 75.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70539,
    "c": 0.15598,
    "h": 123.1
  },
  "luminance": 0.366
}

Semantic roles & 50–950 ramp

primary
#8EAF2D
secondary
#8873C5
accent
#46E26D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8EAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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