#8EA02F#8EA02F

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

Color values

HEX#8EA02F
RGBrgb(142, 160, 47)
HSLhsl(70, 55%, 41%)
HSVhsv(70, 71%, 63%)
CMYKcmyk(11.2%, 0%, 70.6%, 37.3%)
CIE-LABlab(62.59, -21.67, 53.83)
CIE-LCHlch(62.59, 58.03, 111.93°)
OKLaboklab(67.01% -0.0644 0.1205)
OKLCHoklch(67.01% 0.137 118.1)
XYZxyz(24.2397, 31.0979, 7.4143)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA02F #412FA0
analogous
#A07A2F #8EA02F #55A02F
triadic
#8EA02F #2F8EA0 #A02F8E
tetradic
#8EA02F #2FA07A #412FA0 #A02F55
square
#8EA02F #2FA07A #412FA0 #A02F55
split-complementary
#8EA02F #2F55A0 #7A2FA0
monochromatic
#3A4113 #647121 #8EA02F #B3C844 #C6D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA02F#FFFFFF#000000##000000
##8EA02F1.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)
#AB971C
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#97978A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ea02f;
/* rgb */ color: rgb(142, 160, 47);
/* oklch */ color: oklch(67.0% 0.137 118.1);
Tailwind
colors: {
  custom: {
    50: '#b2bc6f',
    500: '#8ea02f',
    950: '#000000',
  },
}
SCSS
$custom: #8ea02f;
$custom-light: #b2bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea02f",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 69.558,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67008,
    "c": 0.13659,
    "h": 118.1
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#8EA02F
secondary
#7A6DBE
accent
#4ADE61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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