#8EA126#8EA126

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

Color values

HEX#8EA126
RGBrgb(142, 161, 38)
HSLhsl(69, 62%, 39%)
HSVhsv(69, 76%, 63%)
CMYKcmyk(11.8%, 0%, 76.4%, 36.9%)
CIE-LABlab(62.83, -22.65, 57.29)
CIE-LCHlch(62.83, 61.61, 111.57°)
OKLaboklab(67.18% -0.0679 0.1262)
OKLCHoklch(67.18% 0.143 118.3)
XYZxyz(24.2506, 31.3807, 6.6129)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA126 #3926A1
analogous
#A17726 #8EA126 #51A126
triadic
#8EA126 #268EA1 #A1268E
tetradic
#8EA126 #26A177 #3926A1 #A12651
square
#8EA126 #26A177 #3926A1 #A12651
split-complementary
#8EA126 #2651A1 #7726A1
monochromatic
#373E0F #626F1A #8EA126 #B7CF35 #C9DB66

Accessibility & contrast

On white

2.89
#8EA126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#8EA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA126
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA126#FFFFFF#000000##000000
##8EA1261.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea126;
/* rgb */ color: rgb(142, 161, 38);
/* oklch */ color: oklch(67.2% 0.143 118.3);
Tailwind
colors: {
  custom: {
    50: '#b2bc6b',
    500: '#8ea126',
    950: '#000000',
  },
}
SCSS
$custom: #8ea126;
$custom-light: #b2bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea126",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 69.268,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67181,
    "c": 0.14332,
    "h": 118.3
  },
  "luminance": 0.3138
}

Semantic roles & 50–950 ramp

primary
#8EA126
secondary
#7162C1
accent
#43E55C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA126

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

Preview Lab → · Contrast checker → · Palette generator →

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