#8EA031#8EA031

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

Color values

HEX#8EA031
RGBrgb(142, 160, 49)
HSLhsl(70, 53%, 41%)
HSVhsv(70, 69%, 63%)
CMYKcmyk(11.2%, 0%, 69.4%, 37.3%)
CIE-LABlab(62.60, -21.55, 53.06)
CIE-LCHlch(62.60, 57.27, 112.11°)
OKLaboklab(67.02% -0.0639 0.1192)
OKLCHoklch(67.02% 0.135 118.2)
XYZxyz(24.2810, 31.1144, 7.6317)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA031 #4331A0
analogous
#A07A31 #8EA031 #56A031
triadic
#8EA031 #318EA0 #A0318E
tetradic
#8EA031 #31A07A #4331A0 #A03156
square
#8EA031 #31A07A #4331A0 #A03156
split-complementary
#8EA031 #3156A0 #7A31A0
monochromatic
#3B4214 #647123 #8EA031 #B2C747 #C6D576

Accessibility & contrast

On white

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

On black

7.22
#8EA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA031
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA031#FFFFFF#000000##000000
##8EA0311.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9720
Deuteranopia (green-blind)
#A9983A
Tritanopia (blue-blind)
#96978A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ea031;
/* rgb */ color: rgb(142, 160, 49);
/* oklch */ color: oklch(67.0% 0.135 118.2);
Tailwind
colors: {
  custom: {
    50: '#b2bc70',
    500: '#8ea031',
    950: '#000000',
  },
}
SCSS
$custom: #8ea031;
$custom-light: #b2bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea031",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 69.73,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.1352,
    "h": 118.2
  },
  "luminance": 0.31114
}

Semantic roles & 50–950 ramp

primary
#8EA031
secondary
#7C70BD
accent
#4BDD63
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA031

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

Preview Lab → · Contrast checker → · Palette generator →

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