#8AB645#8AB645

#8AB645 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.1% C 0.150 H 127.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8AB645
RGBrgb(138, 182, 69)
HSLhsl(83, 45%, 49%)
HSVhsv(83, 62%, 71%)
CMYKcmyk(24.2%, 0%, 62.1%, 28.6%)
CIE-LABlab(68.96, -32.39, 51.34)
CIE-LCHlch(68.96, 60.70, 122.25°)
OKLaboklab(72.13% -0.0918 0.1184)
OKLCHoklch(72.13% 0.15 127.8)
XYZxyz(28.2833, 39.2883, 11.7224)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB645 #7145B6
analogous
#B6AA45 #8AB645 #52B645
triadic
#8AB645 #458AB6 #B6458A
tetradic
#8AB645 #45B6AA #7145B6 #B64552
square
#8AB645 #45B6AA #7145B6 #B64552
split-complementary
#8AB645 #4552B6 #AA45B6
monochromatic
#475D23 #688A34 #8AB645 #A6C970 #C2D99C

Accessibility & contrast

On white

2.37
#8AB645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#8AB645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB645
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB645#FFFFFF#000000##000000
##8AB6451.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#B9A74D
Tritanopia (blue-blind)
#8EAE9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ab645;
/* rgb */ color: rgb(138, 182, 69);
/* oklch */ color: oklch(72.1% 0.150 127.8);
Tailwind
colors: {
  custom: {
    50: '#afcc7d',
    500: '#8ab645',
    950: '#000000',
  },
}
SCSS
$custom: #8ab645;
$custom-light: #afcc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab645",
  "rgb": {
    "r": 138,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 83.363,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72134,
    "c": 0.14981,
    "h": 127.8
  },
  "luminance": 0.39289
}

Semantic roles & 50–950 ramp

primary
#8AB645
secondary
#A691C6
accent
#53D586
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB645

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

Preview Lab → · Contrast checker → · Palette generator →

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