#8EA12D#8EA12D

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

Color values

HEX#8EA12D
RGBrgb(142, 161, 45)
HSLhsl(70, 56%, 40%)
HSVhsv(70, 72%, 63%)
CMYKcmyk(11.8%, 0%, 72%, 36.9%)
CIE-LABlab(62.87, -22.29, 54.86)
CIE-LCHlch(62.87, 59.22, 112.11°)
OKLaboklab(67.23% -0.0663 0.1223)
OKLCHoklch(67.23% 0.139 118.5)
XYZxyz(24.3744, 31.4302, 7.2647)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA12D #402DA1
analogous
#A17A2D #8EA12D #54A12D
triadic
#8EA12D #2D8EA1 #A12D8E
tetradic
#8EA12D #2DA17A #402DA1 #A12D54
square
#8EA12D #2DA17A #402DA1 #A12D54
split-complementary
#8EA12D #2D54A1 #7A2DA1
monochromatic
#3A4112 #647120 #8EA12D #B4CA41 #C7D771

Accessibility & contrast

On white

2.88
#8EA12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8EA12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA12D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA12D#FFFFFF#000000##000000
##8EA12D1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9818
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#97988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea12d;
/* rgb */ color: rgb(142, 161, 45);
/* oklch */ color: oklch(67.2% 0.139 118.5);
Tailwind
colors: {
  custom: {
    50: '#b2bc6e',
    500: '#8ea12d',
    950: '#000000',
  },
}
SCSS
$custom: #8ea12d;
$custom-light: #b2bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea12d",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 69.828,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.13911,
    "h": 118.5
  },
  "luminance": 0.3143
}

Semantic roles & 50–950 ramp

primary
#8EA12D
secondary
#796BBF
accent
#48E061
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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