#8AB937#8AB937

#8AB937 is a light, vivid yellow-green. Relative luminance 0.404; OKLCH L 72.7% C 0.164 H 127.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8AB937
RGBrgb(138, 185, 55)
HSLhsl(82, 54%, 47%)
HSVhsv(82, 70%, 73%)
CMYKcmyk(25.4%, 0%, 70.3%, 27.5%)
CIE-LABlab(69.74, -34.82, 57.87)
CIE-LCHlch(69.74, 67.54, 121.03°)
OKLaboklab(72.73% -0.0996 0.1303)
OKLCHoklch(72.73% 0.164 127.4)
XYZxyz(28.5198, 40.3765, 9.9046)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB937 #6637B9
analogous
#B9A737 #8AB937 #49B937
triadic
#8AB937 #378AB9 #B9378A
tetradic
#8AB937 #37B9A7 #6637B9 #B93749
square
#8AB937 #37B9A7 #6637B9 #B93749
split-complementary
#8AB937 #3749B9 #A737B9
monochromatic
#445B1B #678A29 #8AB937 #A6CF5E #C0DD8D

Accessibility & contrast

On white

2.31
#8AB937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#8AB937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB937
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB937#FFFFFF#000000##000000
##8AB9371.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC22
Deuteranopia (green-blind)
#BCA942
Tritanopia (blue-blind)
#8FB19F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ab937;
/* rgb */ color: rgb(138, 185, 55);
/* oklch */ color: oklch(72.7% 0.164 127.4);
Tailwind
colors: {
  custom: {
    50: '#b0ce76',
    500: '#8ab937',
    950: '#000000',
  },
}
SCSS
$custom: #8ab937;
$custom-light: #b0ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab937",
  "rgb": {
    "r": 138,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 81.692,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72729,
    "c": 0.16402,
    "h": 127.4
  },
  "luminance": 0.40377
}

Semantic roles & 50–950 ramp

primary
#8AB937
secondary
#9D84C8
accent
#4ADE80
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB937

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

Preview Lab → · Contrast checker → · Palette generator →

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