#8EA128#8EA128

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

Color values

HEX#8EA128
RGBrgb(142, 161, 40)
HSLhsl(69, 60%, 39%)
HSVhsv(69, 75%, 63%)
CMYKcmyk(11.8%, 0%, 75.2%, 36.9%)
CIE-LABlab(62.84, -22.55, 56.63)
CIE-LCHlch(62.84, 60.95, 111.72°)
OKLaboklab(67.19% -0.0675 0.1252)
OKLCHoklch(67.19% 0.142 118.3)
XYZxyz(24.2837, 31.3939, 6.7874)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA128 #3B28A1
analogous
#A17728 #8EA128 #52A128
triadic
#8EA128 #288EA1 #A1288E
tetradic
#8EA128 #28A177 #3B28A1 #A12852
square
#8EA128 #28A177 #3B28A1 #A12852
split-complementary
#8EA128 #2852A1 #7728A1
monochromatic
#383F10 #63701C #8EA128 #B6CE39 #C8DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA128#FFFFFF#000000##000000
##8EA1281.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)
#AC980D
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#97988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea128;
/* rgb */ color: rgb(142, 161, 40);
/* oklch */ color: oklch(67.2% 0.142 118.3);
Tailwind
colors: {
  custom: {
    50: '#b2bc6b',
    500: '#8ea128',
    950: '#000000',
  },
}
SCSS
$custom: #8ea128;
$custom-light: #b2bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea128",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 69.421,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67194,
    "c": 0.14217,
    "h": 118.3
  },
  "luminance": 0.31394
}

Semantic roles & 50–950 ramp

primary
#8EA128
secondary
#7365C0
accent
#44E35D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA128

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

Preview Lab → · Contrast checker → · Palette generator →

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