#8BA228#8BA228

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

Color values

HEX#8BA228
RGBrgb(139, 162, 40)
HSLhsl(71, 60%, 40%)
HSVhsv(71, 75%, 64%)
CMYKcmyk(14.2%, 0%, 75.3%, 36.5%)
CIE-LABlab(62.91, -24.33, 56.62)
CIE-LCHlch(62.91, 61.63, 113.25°)
OKLaboklab(67.2% -0.0722 0.1252)
OKLCHoklch(67.2% 0.145 120)
XYZxyz(23.9513, 31.4829, 6.8221)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA228 #3F28A2
analogous
#A27C28 #8BA228 #4EA228
triadic
#8BA228 #288BA2 #A2288B
tetradic
#8BA228 #28A27C #3F28A2 #A2284E
square
#8BA228 #28A27C #3F28A2 #A2284E
split-complementary
#8BA228 #284EA2 #7C28A2
monochromatic
#374010 #61711C #8BA228 #B2CE39 #C5DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BA228#FFFFFF#000000##000000
##8BA2281.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)
#AD980D
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#93998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba228;
/* rgb */ color: rgb(139, 162, 40);
/* oklch */ color: oklch(67.2% 0.145 120.0);
Tailwind
colors: {
  custom: {
    50: '#b0bd6c',
    500: '#8ba228',
    950: '#000000',
  },
}
SCSS
$custom: #8ba228;
$custom-light: #b0bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba228",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 71.311,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67198,
    "c": 0.14454,
    "h": 120
  },
  "luminance": 0.31483
}

Semantic roles & 50–950 ramp

primary
#8BA228
secondary
#7665C1
accent
#44E462
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA228

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

Preview Lab → · Contrast checker → · Palette generator →

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