#8AB227#8AB227

#8AB227 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.9% C 0.165 H 125.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8AB227
RGBrgb(138, 178, 39)
HSLhsl(77, 64%, 43%)
HSVhsv(77, 78%, 70%)
CMYKcmyk(22.5%, 0%, 78.1%, 30.2%)
CIE-LABlab(67.57, -32.47, 61.29)
CIE-LCHlch(67.57, 69.36, 117.92°)
OKLaboklab(70.94% -0.0945 0.1349)
OKLCHoklch(70.94% 0.165 125)
XYZxyz(26.7681, 37.3902, 7.7258)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB227 #4F27B2
analogous
#B29427 #8AB227 #45B227
triadic
#8AB227 #278AB2 #B2278A
tetradic
#8AB227 #27B294 #4F27B2 #B22745
square
#8AB227 #27B294 #4F27B2 #B22745
split-complementary
#8AB227 #2745B2 #9427B2
monochromatic
#3C4E11 #63801C #8AB227 #ABD541 #C1E073

Accessibility & contrast

On white

2.48
#8AB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#8AB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB227
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB227#FFFFFF#000000##000000
##8AB2271.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#91A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab227;
/* rgb */ color: rgb(138, 178, 39);
/* oklch */ color: oklch(70.9% 0.165 125.0);
Tailwind
colors: {
  custom: {
    50: '#b0c96d',
    500: '#8ab227',
    950: '#000000',
  },
}
SCSS
$custom: #8ab227;
$custom-light: #b0c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab227",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 77.266,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70941,
    "c": 0.16473,
    "h": 125
  },
  "luminance": 0.37391
}

Semantic roles & 50–950 ramp

primary
#8AB227
secondary
#876DC8
accent
#41E771
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB227

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

Preview Lab → · Contrast checker → · Palette generator →

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