#8BA226#8BA226

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

Color values

HEX#8BA226
RGBrgb(139, 162, 38)
HSLhsl(71, 62%, 39%)
HSVhsv(71, 77%, 64%)
CMYKcmyk(14.2%, 0%, 76.5%, 36.5%)
CIE-LABlab(62.90, -24.43, 57.29)
CIE-LCHlch(62.90, 62.28, 113.09°)
OKLaboklab(67.19% -0.0726 0.1263)
OKLCHoklch(67.19% 0.146 119.9)
XYZxyz(23.9181, 31.4697, 6.6476)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA226 #3D26A2
analogous
#A27B26 #8BA226 #4DA226
triadic
#8BA226 #268BA2 #A2268B
tetradic
#8BA226 #26A27B #3D26A2 #A2264D
square
#8BA226 #26A27B #3D26A2 #A2264D
split-complementary
#8BA226 #264DA2 #7B26A2
monochromatic
#363F0F #60701A #8BA226 #B3D035 #C6DB67

Accessibility & contrast

On white

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

On black

7.29
#8BA226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA226
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA226#FFFFFF#000000##000000
##8BA2261.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ba226;
/* rgb */ color: rgb(139, 162, 38);
/* oklch */ color: oklch(67.2% 0.146 119.9);
Tailwind
colors: {
  custom: {
    50: '#b0bd6b',
    500: '#8ba226',
    950: '#000000',
  },
}
SCSS
$custom: #8ba226;
$custom-light: #b0bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba226",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 71.129,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67186,
    "c": 0.14568,
    "h": 119.9
  },
  "luminance": 0.3147
}

Semantic roles & 50–950 ramp

primary
#8BA226
secondary
#7463C1
accent
#43E561
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA226

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

Preview Lab → · Contrast checker → · Palette generator →

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