#8BA151#8BA151

#8BA151 is a light, moderate yellow-green. Relative luminance 0.316; OKLCH L 67.4% C 0.109 H 122.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8BA151
RGBrgb(139, 161, 81)
HSLhsl(77, 33%, 47%)
HSVhsv(77, 50%, 63%)
CMYKcmyk(13.7%, 0%, 49.7%, 36.9%)
CIE-LABlab(62.99, -20.63, 38.81)
CIE-LCHlch(62.99, 43.95, 117.99°)
OKLaboklab(67.38% -0.058 0.0926)
OKLCHoklch(67.38% 0.109 122)
XYZxyz(24.8776, 31.5728, 12.5665)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA151 #6751A1
analogous
#A18F51 #8BA151 #63A151
triadic
#8BA151 #518BA1 #A1518B
tetradic
#8BA151 #51A18F #6751A1 #A15163
square
#8BA151 #51A18F #6751A1 #A15163
split-complementary
#8BA151 #5163A1 #8F51A1
monochromatic
#455028 #68783D #8BA151 #A7BA75 #C1CE9E

Accessibility & contrast

On white

2.87
#8BA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8BA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA151
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA151#FFFFFF#000000##000000
##8BA1511.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#A69856
Tritanopia (blue-blind)
#919A8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba151;
/* rgb */ color: rgb(139, 161, 81);
/* oklch */ color: oklch(67.4% 0.109 122.0);
Tailwind
colors: {
  custom: {
    50: '#aebc84',
    500: '#8ba151',
    950: '#000000',
  },
}
SCSS
$custom: #8ba151;
$custom-light: #aebc84;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba151",
  "rgb": {
    "r": 139,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 76.5,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67377,
    "c": 0.10923,
    "h": 122
  },
  "luminance": 0.31573
}

Semantic roles & 50–950 ramp

primary
#8BA151
secondary
#9E93BB
accent
#5FC97C
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #8BA151

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

Preview Lab → · Contrast checker → · Palette generator →

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