#8AB837#8AB837

#8AB837 is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.5% C 0.163 H 127.2°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8AB837
RGBrgb(138, 184, 55)
HSLhsl(81, 54%, 47%)
HSVhsv(81, 70%, 72%)
CMYKcmyk(25%, 0%, 70.1%, 27.8%)
CIE-LABlab(69.44, -34.36, 57.58)
CIE-LCHlch(69.44, 67.05, 120.83°)
OKLaboklab(72.49% -0.0984 0.1297)
OKLCHoklch(72.49% 0.163 127.2)
XYZxyz(28.3114, 39.9596, 9.8351)
Luminance0.3996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB837 #6537B8
analogous
#B8A637 #8AB837 #4AB837
triadic
#8AB837 #378AB8 #B8378A
tetradic
#8AB837 #37B8A6 #6537B8 #B8374A
square
#8AB837 #37B8A6 #6537B8 #B8374A
split-complementary
#8AB837 #374AB8 #A637B8
monochromatic
#435A1B #678929 #8AB837 #A6CF5D #C0DD8D

Accessibility & contrast

On white

2.34
#8AB837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#8AB837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB837
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB837#FFFFFF#000000##000000
##8AB8371.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB22
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#8FB09E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ab837;
/* rgb */ color: rgb(138, 184, 55);
/* oklch */ color: oklch(72.5% 0.163 127.2);
Tailwind
colors: {
  custom: {
    50: '#b0cd76',
    500: '#8ab837',
    950: '#000000',
  },
}
SCSS
$custom: #8ab837;
$custom-light: #b0cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab837",
  "rgb": {
    "r": 138,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 81.395,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72489,
    "c": 0.16277,
    "h": 127.2
  },
  "luminance": 0.3996
}

Semantic roles & 50–950 ramp

primary
#8AB837
secondary
#9C84C7
accent
#4ADD7F
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB837

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

Preview Lab → · Contrast checker → · Palette generator →

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