#8AB745#8AB745

#8AB745 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.4% C 0.151 H 128.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8AB745
RGBrgb(138, 183, 69)
HSLhsl(84, 45%, 49%)
HSVhsv(84, 62%, 72%)
CMYKcmyk(24.6%, 0%, 62.3%, 28.2%)
CIE-LABlab(69.25, -32.86, 51.66)
CIE-LCHlch(69.25, 61.23, 122.46°)
OKLaboklab(72.37% -0.093 0.1191)
OKLCHoklch(72.37% 0.151 128)
XYZxyz(28.4888, 39.6994, 11.7909)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB745 #7245B7
analogous
#B7AB45 #8AB745 #51B745
triadic
#8AB745 #458AB7 #B7458A
tetradic
#8AB745 #45B7AB #7245B7 #B74551
square
#8AB745 #45B7AB #7245B7 #B74551
split-complementary
#8AB745 #4551B7 #AB45B7
monochromatic
#475E23 #688B34 #8AB745 #A6C970 #C2DA9D

Accessibility & contrast

On white

2.35
#8AB745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#8AB745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB745
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB745#FFFFFF#000000##000000
##8AB7451.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB37
Deuteranopia (green-blind)
#B9A84D
Tritanopia (blue-blind)
#8EAF9F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ab745;
/* rgb */ color: rgb(138, 183, 69);
/* oklch */ color: oklch(72.4% 0.151 128.0);
Tailwind
colors: {
  custom: {
    50: '#afcc7d',
    500: '#8ab745',
    950: '#000000',
  },
}
SCSS
$custom: #8ab745;
$custom-light: #afcc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab745",
  "rgb": {
    "r": 138,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 83.684,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72373,
    "c": 0.15114,
    "h": 128
  },
  "luminance": 0.397
}

Semantic roles & 50–950 ramp

primary
#8AB745
secondary
#A692C6
accent
#53D586
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB745

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

Preview Lab → · Contrast checker → · Palette generator →

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