#8BA227#8BA227

#8BA227 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.2% C 0.145 H 119.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8BA227
RGBrgb(139, 162, 39)
HSLhsl(71, 61%, 39%)
HSVhsv(71, 76%, 64%)
CMYKcmyk(14.2%, 0%, 75.9%, 36.5%)
CIE-LABlab(62.91, -24.38, 56.96)
CIE-LCHlch(62.91, 61.95, 113.17°)
OKLaboklab(67.19% -0.0724 0.1258)
OKLCHoklch(67.19% 0.145 119.9)
XYZxyz(23.9345, 31.4762, 6.7337)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA227 #3E27A2
analogous
#A27C27 #8BA227 #4DA227
triadic
#8BA227 #278BA2 #A2278B
tetradic
#8BA227 #27A27C #3E27A2 #A2274D
square
#8BA227 #27A27C #3E27A2 #A2274D
split-complementary
#8BA227 #274DA2 #7C27A2
monochromatic
#363F0F #61711B #8BA227 #B3CF37 #C5DB69

Accessibility & contrast

On white

2.88
#8BA227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#8BA227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA227
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA227#FFFFFF#000000##000000
##8BA2271.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD980A
Deuteranopia (green-blind)
#AA9832
Tritanopia (blue-blind)
#93998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba227;
/* rgb */ color: rgb(139, 162, 39);
/* oklch */ color: oklch(67.2% 0.145 119.9);
Tailwind
colors: {
  custom: {
    50: '#b0bd6b',
    500: '#8ba227',
    950: '#000000',
  },
}
SCSS
$custom: #8ba227;
$custom-light: #b0bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba227",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 71.22,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67192,
    "c": 0.14512,
    "h": 119.9
  },
  "luminance": 0.31476
}

Semantic roles & 50–950 ramp

primary
#8BA227
secondary
#7564C1
accent
#43E462
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA227

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

Preview Lab → · Contrast checker → · Palette generator →

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