#8AB45F#8AB45F

#8AB45F is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.0% C 0.123 H 130.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8AB45F
RGBrgb(138, 180, 95)
HSLhsl(90, 36%, 54%)
HSVhsv(90, 47%, 71%)
CMYKcmyk(23.3%, 0%, 47.2%, 29.4%)
CIE-LABlab(68.66, -28.81, 38.68)
CIE-LCHlch(68.66, 48.23, 126.68°)
OKLaboklab(71.98% -0.0797 0.0933)
OKLCHoklch(71.98% 0.123 130.5)
XYZxyz(28.8677, 38.8714, 16.8063)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB45F #895FB4
analogous
#B4B45F #8AB45F #60B45F
triadic
#8AB45F #5F8AB4 #B45F8A
tetradic
#8AB45F #5FB4B4 #895FB4 #B45F60
square
#8AB45F #5FB4B4 #895FB4 #B45F60
split-complementary
#8AB45F #5F60B4 #B45FB4
monochromatic
#4D6831 #6B9244 #8AB45F #A8C889 #C7DBB2

Accessibility & contrast

On white

2.39
#8AB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#8AB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB45F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB45F#FFFFFF#000000##000000
##8AB45F1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA958
Deuteranopia (green-blind)
#B5A664
Tritanopia (blue-blind)
#8CAEA0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab45f;
/* rgb */ color: rgb(138, 180, 95);
/* oklch */ color: oklch(72.0% 0.123 130.5);
Tailwind
colors: {
  custom: {
    50: '#aeca8e',
    500: '#8ab45f',
    950: '#000000',
  },
}
SCSS
$custom: #8ab45f;
$custom-light: #aeca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab45f",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 89.647,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.1227,
    "h": 130.5
  },
  "luminance": 0.38872
}

Semantic roles & 50–950 ramp

primary
#8AB45F
secondary
#B7A5CA
accent
#5CCC93
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #8AB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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