#8EA41F#8EA41F

#8EA41F is a light, vivid yellow. Relative luminance 0.324; OKLCH L 67.9% C 0.150 H 119.2°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8EA41F
RGBrgb(142, 164, 31)
HSLhsl(70, 68%, 38%)
HSVhsv(70, 81%, 64%)
CMYKcmyk(13.4%, 0%, 81.1%, 35.7%)
CIE-LABlab(63.67, -24.44, 60.22)
CIE-LCHlch(63.67, 64.99, 112.09°)
OKLaboklab(67.85% -0.0733 0.1312)
OKLCHoklch(67.85% 0.15 119.2)
XYZxyz(24.6787, 32.4008, 6.2499)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA41F #351FA4
analogous
#A4771F #8EA41F #4BA41F
triadic
#8EA41F #1F8EA4 #A41F8E
tetradic
#8EA41F #1FA477 #351FA4 #A41F4B
square
#8EA41F #1FA477 #351FA4 #A41F4B
split-complementary
#8EA41F #1F4BA4 #771FA4
monochromatic
#353D0C #617115 #8EA41F #BAD72A #CBE05D

Accessibility & contrast

On white

2.81
#8EA41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#8EA41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA41F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA41F#FFFFFF#000000##000000
##8EA41F1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#979B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ea41f;
/* rgb */ color: rgb(142, 164, 31);
/* oklch */ color: oklch(67.9% 0.150 119.2);
Tailwind
colors: {
  custom: {
    50: '#b3bf68',
    500: '#8ea41f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea41f;
$custom-light: #b3bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea41f",
  "rgb": {
    "r": 142,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 69.925,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67851,
    "c": 0.1503,
    "h": 119.2
  },
  "luminance": 0.32401
}

Semantic roles & 50–950 ramp

primary
#8EA41F
secondary
#6C5AC5
accent
#3DEB5A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA41F

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

Preview Lab → · Contrast checker → · Palette generator →

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