#8AB138#8AB138

#8AB138 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.8% C 0.153 H 125.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8AB138
RGBrgb(138, 177, 56)
HSLhsl(79, 52%, 46%)
HSVhsv(79, 68%, 69%)
CMYKcmyk(22%, 0%, 68.4%, 30.6%)
CIE-LABlab(67.38, -31.03, 55.08)
CIE-LCHlch(67.38, 63.22, 119.40°)
OKLaboklab(70.82% -0.0892 0.1246)
OKLCHoklch(70.82% 0.153 125.6)
XYZxyz(26.9173, 37.1327, 9.4898)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB138 #5F38B1
analogous
#B19B38 #8AB138 #4DB138
triadic
#8AB138 #388AB1 #B1388A
tetradic
#8AB138 #38B19B #5F38B1 #B1384D
square
#8AB138 #38B19B #5F38B1 #B1384D
split-complementary
#8AB138 #384DB1 #9B38B1
monochromatic
#42541B #668329 #8AB138 #A7CB5B #C0DA8A

Accessibility & contrast

On white

2.49
#8AB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#8AB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB138
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB138#FFFFFF#000000##000000
##8AB1381.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#B5A342
Tritanopia (blue-blind)
#90A999
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab138;
/* rgb */ color: rgb(138, 177, 56);
/* oklch */ color: oklch(70.8% 0.153 125.6);
Tailwind
colors: {
  custom: {
    50: '#afc875',
    500: '#8ab138',
    950: '#000000',
  },
}
SCSS
$custom: #8ab138;
$custom-light: #afc875;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab138",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 79.339,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70819,
    "c": 0.1532,
    "h": 125.6
  },
  "luminance": 0.37133
}

Semantic roles & 50–950 ramp

primary
#8AB138
secondary
#9681C4
accent
#4CDB7A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB138

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

Preview Lab → · Contrast checker → · Palette generator →

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