#8EA127#8EA127

#8EA127 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.2% C 0.143 H 118.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8EA127
RGBrgb(142, 161, 39)
HSLhsl(69, 61%, 39%)
HSVhsv(69, 76%, 63%)
CMYKcmyk(11.8%, 0%, 75.8%, 36.9%)
CIE-LABlab(62.83, -22.60, 56.96)
CIE-LCHlch(62.83, 61.28, 111.64°)
OKLaboklab(67.19% -0.0677 0.1257)
OKLCHoklch(67.19% 0.143 118.3)
XYZxyz(24.2670, 31.3872, 6.6990)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA127 #3A27A1
analogous
#A17727 #8EA127 #51A127
triadic
#8EA127 #278EA1 #A1278E
tetradic
#8EA127 #27A177 #3A27A1 #A12751
square
#8EA127 #27A177 #3A27A1 #A12751
split-complementary
#8EA127 #2751A1 #7727A1
monochromatic
#373E0F #63701B #8EA127 #B7CE37 #C9DA68

Accessibility & contrast

On white

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

On black

7.28
#8EA127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA127
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA127#FFFFFF#000000##000000
##8EA1271.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980A
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#97988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea127;
/* rgb */ color: rgb(142, 161, 39);
/* oklch */ color: oklch(67.2% 0.143 118.3);
Tailwind
colors: {
  custom: {
    50: '#b2bc6b',
    500: '#8ea127',
    950: '#000000',
  },
}
SCSS
$custom: #8ea127;
$custom-light: #b2bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea127",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 69.344,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67187,
    "c": 0.14275,
    "h": 118.3
  },
  "luminance": 0.31387
}

Semantic roles & 50–950 ramp

primary
#8EA127
secondary
#7263C0
accent
#44E45D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA127

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

Preview Lab → · Contrast checker → · Palette generator →

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