#8EA227#8EA227

#8EA227 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.4% C 0.144 H 118.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8EA227
RGBrgb(142, 162, 39)
HSLhsl(70, 61%, 39%)
HSVhsv(70, 76%, 64%)
CMYKcmyk(12.3%, 0%, 75.9%, 36.5%)
CIE-LABlab(63.13, -23.10, 57.24)
CIE-LCHlch(63.13, 61.73, 111.98°)
OKLaboklab(67.42% -0.0691 0.1263)
OKLCHoklch(67.42% 0.144 118.7)
XYZxyz(24.4424, 31.7381, 6.7575)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA227 #3B27A2
analogous
#A27927 #8EA227 #51A227
triadic
#8EA227 #278EA2 #A2278E
tetradic
#8EA227 #27A279 #3B27A2 #A22751
square
#8EA227 #27A279 #3B27A2 #A22751
split-complementary
#8EA227 #2751A2 #7927A2
monochromatic
#383F0F #63711B #8EA227 #B6CF37 #C8DB69

Accessibility & contrast

On white

2.86
#8EA227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8EA227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA227
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA227#FFFFFF#000000##000000
##8EA2271.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990A
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#97998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ea227;
/* rgb */ color: rgb(142, 162, 39);
/* oklch */ color: oklch(67.4% 0.144 118.7);
Tailwind
colors: {
  custom: {
    50: '#b2bd6b',
    500: '#8ea227',
    950: '#000000',
  },
}
SCSS
$custom: #8ea227;
$custom-light: #b2bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea227",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 69.756,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67423,
    "c": 0.14392,
    "h": 118.7
  },
  "luminance": 0.31738
}

Semantic roles & 50–950 ramp

primary
#8EA227
secondary
#7364C1
accent
#43E45E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA227

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

Preview Lab → · Contrast checker → · Palette generator →

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