#8EA02B#8EA02B

#8EA02B is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.0% C 0.139 H 118.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8EA02B
RGBrgb(142, 160, 43)
HSLhsl(69, 58%, 40%)
HSVhsv(69, 73%, 63%)
CMYKcmyk(11.2%, 0%, 73.1%, 37.3%)
CIE-LABlab(62.56, -21.90, 55.30)
CIE-LCHlch(62.56, 59.48, 111.60°)
OKLaboklab(66.98% -0.0654 0.1229)
OKLCHoklch(66.98% 0.139 118)
XYZxyz(24.1627, 31.0670, 7.0087)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA02B #3D2BA0
analogous
#A0782B #8EA02B #53A02B
triadic
#8EA02B #2B8EA0 #A02B8E
tetradic
#8EA02B #2BA078 #3D2BA0 #A02B53
square
#8EA02B #2BA078 #3D2BA0 #A02B53
split-complementary
#8EA02B #2B53A0 #782BA0
monochromatic
#384011 #63701E #8EA02B #B5CB3D #C8D86E

Accessibility & contrast

On white

2.91
#8EA02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8EA02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA02B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA02B#FFFFFF#000000##000000
##8EA02B1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9715
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#979789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ea02b;
/* rgb */ color: rgb(142, 160, 43);
/* oklch */ color: oklch(67.0% 0.139 118.0);
Tailwind
colors: {
  custom: {
    50: '#b2bc6d',
    500: '#8ea02b',
    950: '#000000',
  },
}
SCSS
$custom: #8ea02b;
$custom-light: #b2bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea02b",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 69.231,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.13919,
    "h": 118
  },
  "luminance": 0.31067
}

Semantic roles & 50–950 ramp

primary
#8EA02B
secondary
#7568BF
accent
#47E15F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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