#8EA11F#8EA11F

#8EA11F is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.1% C 0.147 H 118.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8EA11F
RGBrgb(142, 161, 31)
HSLhsl(69, 68%, 38%)
HSVhsv(69, 81%, 63%)
CMYKcmyk(11.8%, 0%, 80.7%, 36.9%)
CIE-LABlab(62.79, -22.95, 59.44)
CIE-LCHlch(62.79, 63.71, 111.11°)
OKLaboklab(67.14% -0.0693 0.1295)
OKLCHoklch(67.14% 0.147 118.1)
XYZxyz(24.1481, 31.3397, 6.0731)
Luminance0.3134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA11F #321FA1
analogous
#A1731F #8EA11F #4DA11F
triadic
#8EA11F #1F8EA1 #A11F8E
tetradic
#8EA11F #1FA173 #321FA1 #A11F4D
square
#8EA11F #1FA173 #321FA1 #A11F4D
split-complementary
#8EA11F #1F4DA1 #731FA1
monochromatic
#333A0B #616E15 #8EA11F #BBD429 #CCDF5B

Accessibility & contrast

On white

2.89
#8EA11F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8EA11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA11F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA11F#FFFFFF#000000##000000
##8EA11F1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AA982C
Tritanopia (blue-blind)
#979889
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea11f;
/* rgb */ color: rgb(142, 161, 31);
/* oklch */ color: oklch(67.1% 0.147 118.1);
Tailwind
colors: {
  custom: {
    50: '#b3bc67',
    500: '#8ea11f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea11f;
$custom-light: #b3bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea11f",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 68.769,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67143,
    "c": 0.14688,
    "h": 118.1
  },
  "luminance": 0.31339
}

Semantic roles & 50–950 ramp

primary
#8EA11F
secondary
#6858C4
accent
#3DEB57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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