#8EA02C#8EA02C

#8EA02C 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#8EA02C
RGBrgb(142, 160, 44)
HSLhsl(69, 57%, 40%)
HSVhsv(69, 73%, 63%)
CMYKcmyk(11.2%, 0%, 72.5%, 37.3%)
CIE-LABlab(62.57, -21.84, 54.94)
CIE-LCHlch(62.57, 59.12, 111.68°)
OKLaboklab(66.99% -0.0651 0.1223)
OKLCHoklch(66.99% 0.139 118)
XYZxyz(24.1813, 31.0745, 7.1065)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA02C #3E2CA0
analogous
#A0782C #8EA02C #54A02C
triadic
#8EA02C #2C8EA0 #A02C8E
tetradic
#8EA02C #2CA078 #3E2CA0 #A02C54
square
#8EA02C #2CA078 #3E2CA0 #A02C54
split-complementary
#8EA02C #2C54A0 #782CA0
monochromatic
#394012 #63701F #8EA02C #B5CA3F #C7D76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8EA02C#FFFFFF#000000##000000
##8EA02C1.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)
#AB9717
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#979789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ea02c;
/* rgb */ color: rgb(142, 160, 44);
/* oklch */ color: oklch(67.0% 0.139 118.0);
Tailwind
colors: {
  custom: {
    50: '#b2bc6d',
    500: '#8ea02c',
    950: '#000000',
  },
}
SCSS
$custom: #8ea02c;
$custom-light: #b2bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea02c",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 69.31,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.13856,
    "h": 118
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#8EA02C
secondary
#7669BF
accent
#48E05F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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