#8AB938#8AB938

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

Color values

HEX#8AB938
RGBrgb(138, 185, 56)
HSLhsl(82, 54%, 47%)
HSVhsv(82, 70%, 73%)
CMYKcmyk(25.4%, 0%, 69.7%, 27.5%)
CIE-LABlab(69.74, -34.75, 57.50)
CIE-LCHlch(69.74, 67.19, 121.15°)
OKLaboklab(72.74% -0.0994 0.1297)
OKLCHoklch(72.74% 0.163 127.5)
XYZxyz(28.5440, 40.3862, 10.0321)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB938 #6738B9
analogous
#B9A738 #8AB938 #4AB938
triadic
#8AB938 #388AB9 #B9388A
tetradic
#8AB938 #38B9A7 #6738B9 #B9384A
square
#8AB938 #38B9A7 #6738B9 #B9384A
split-complementary
#8AB938 #384AB9 #A738B9
monochromatic
#445B1C #678A2A #8AB938 #A6CF5F #C0DD8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB938#FFFFFF#000000##000000
##8AB9381.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)
#C2AC24
Deuteranopia (green-blind)
#BCA943
Tritanopia (blue-blind)
#8FB19F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ab938;
/* rgb */ color: rgb(138, 185, 56);
/* oklch */ color: oklch(72.7% 0.163 127.5);
Tailwind
colors: {
  custom: {
    50: '#b0ce76',
    500: '#8ab938',
    950: '#000000',
  },
}
SCSS
$custom: #8ab938;
$custom-light: #b0ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab938",
  "rgb": {
    "r": 138,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 81.86,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72737,
    "c": 0.16336,
    "h": 127.5
  },
  "luminance": 0.40387
}

Semantic roles & 50–950 ramp

primary
#8AB938
secondary
#9D85C8
accent
#4BDD80
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB938

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

Preview Lab → · Contrast checker → · Palette generator →

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