#8EA225#8EA225

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

Color values

HEX#8EA225
RGBrgb(142, 162, 37)
HSLhsl(70, 63%, 39%)
HSVhsv(70, 77%, 64%)
CMYKcmyk(12.3%, 0%, 77.2%, 36.5%)
CIE-LABlab(63.12, -23.19, 57.89)
CIE-LCHlch(63.12, 62.36, 111.83°)
OKLaboklab(67.41% -0.0695 0.1273)
OKLCHoklch(67.41% 0.145 118.6)
XYZxyz(24.4101, 31.7252, 6.5875)
Luminance0.3172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA225 #3925A2
analogous
#A27825 #8EA225 #50A225
triadic
#8EA225 #258EA2 #A2258E
tetradic
#8EA225 #25A278 #3925A2 #A22550
square
#8EA225 #25A278 #3925A2 #A22550
split-complementary
#8EA225 #2550A2 #7825A2
monochromatic
#373E0E #62701A #8EA225 #B7D134 #C9DC65

Accessibility & contrast

On white

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

On black

7.34
#8EA225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA225
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA225#FFFFFF#000000##000000
##8EA2251.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea225;
/* rgb */ color: rgb(142, 162, 37);
/* oklch */ color: oklch(67.4% 0.145 118.6);
Tailwind
colors: {
  custom: {
    50: '#b2bd6a',
    500: '#8ea225',
    950: '#000000',
  },
}
SCSS
$custom: #8ea225;
$custom-light: #b2bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea225",
  "rgb": {
    "r": 142,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 69.6,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.14503,
    "h": 118.6
  },
  "luminance": 0.31725
}

Semantic roles & 50–950 ramp

primary
#8EA225
secondary
#7161C2
accent
#42E65C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA225

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

Preview Lab → · Contrast checker → · Palette generator →

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