#8EAF1F#8EAF1F

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

Color values

HEX#8EAF1F
RGBrgb(142, 175, 31)
HSLhsl(74, 70%, 40%)
HSVhsv(74, 82%, 69%)
CMYKcmyk(18.9%, 0%, 82.3%, 31.4%)
CIE-LABlab(66.91, -29.76, 63.07)
CIE-LCHlch(66.91, 69.74, 115.26°)
OKLaboklab(70.46% -0.0879 0.1373)
OKLCHoklch(70.46% 0.163 122.6)
XYZxyz(26.7330, 36.5095, 6.9347)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAF1F #401FAF
analogous
#AF881F #8EAF1F #46AF1F
triadic
#8EAF1F #1F8EAF #AF1F8E
tetradic
#8EAF1F #1FAF88 #401FAF #AF1F46
square
#8EAF1F #1FAF88 #401FAF #AF1F46
split-complementary
#8EAF1F #1F46AF #881FAF
monochromatic
#3A470D #647B16 #8EAF1F #B4DA31 #C7E465

Accessibility & contrast

On white

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

On black

8.30
#8EAF1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAF1F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAF1F#FFFFFF#000000##000000
##8EAF1F1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#96A695
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8eaf1f;
/* rgb */ color: rgb(142, 175, 31);
/* oklch */ color: oklch(70.5% 0.163 122.6);
Tailwind
colors: {
  custom: {
    50: '#b3c769',
    500: '#8eaf1f',
    950: '#000000',
  },
}
SCSS
$custom: #8eaf1f;
$custom-light: #b3c769;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaf1f",
  "rgb": {
    "r": 142,
    "g": 175,
    "b": 31
  },
  "hsl": {
    "h": 73.75,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70462,
    "c": 0.16302,
    "h": 122.6
  },
  "luminance": 0.3651
}

Semantic roles & 50–950 ramp

primary
#8EAF1F
secondary
#7961C9
accent
#3BED64
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EAF1F

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

Preview Lab → · Contrast checker → · Palette generator →

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