#8AA227#8AA227

#8AA227 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.1% C 0.146 H 120.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8AA227
RGBrgb(138, 162, 39)
HSLhsl(72, 61%, 39%)
HSVhsv(72, 76%, 64%)
CMYKcmyk(14.8%, 0%, 75.9%, 36.5%)
CIE-LABlab(62.84, -24.80, 56.86)
CIE-LCHlch(62.84, 62.04, 113.56°)
OKLaboklab(67.12% -0.0735 0.1256)
OKLCHoklch(67.12% 0.146 120.3)
XYZxyz(23.7682, 31.3905, 6.7259)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA227 #3F27A2
analogous
#A27D27 #8AA227 #4DA227
triadic
#8AA227 #278AA2 #A2278A
tetradic
#8AA227 #27A27D #3F27A2 #A2274D
square
#8AA227 #27A27D #3F27A2 #A2274D
split-complementary
#8AA227 #274DA2 #7D27A2
monochromatic
#363F0F #60711B #8AA227 #B1CF37 #C5DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA227#FFFFFF#000000##000000
##8AA2271.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)
#AC980A
Deuteranopia (green-blind)
#AA9832
Tritanopia (blue-blind)
#92998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8aa227;
/* rgb */ color: rgb(138, 162, 39);
/* oklch */ color: oklch(67.1% 0.146 120.3);
Tailwind
colors: {
  custom: {
    50: '#b0bd6b',
    500: '#8aa227',
    950: '#000000',
  },
}
SCSS
$custom: #8aa227;
$custom-light: #b0bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa227",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 71.707,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67116,
    "c": 0.14553,
    "h": 120.3
  },
  "luminance": 0.3139
}

Semantic roles & 50–950 ramp

primary
#8AA227
secondary
#7664C1
accent
#43E463
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA227

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

Preview Lab → · Contrast checker → · Palette generator →

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