#8AB548#8AB548

#8AB548 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 71.9% C 0.146 H 127.8°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8AB548
RGBrgb(138, 181, 72)
HSLhsl(84, 43%, 50%)
HSVhsv(84, 60%, 71%)
CMYKcmyk(23.8%, 0%, 60.2%, 29%)
CIE-LABlab(68.69, -31.67, 49.71)
CIE-LCHlch(68.69, 58.94, 122.50°)
OKLaboklab(71.93% -0.0895 0.1153)
OKLCHoklch(71.93% 0.146 127.8)
XYZxyz(28.1747, 38.9184, 12.1572)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB548 #7348B5
analogous
#B5AA48 #8AB548 #53B548
triadic
#8AB548 #488AB5 #B5488A
tetradic
#8AB548 #48B5AA #7348B5 #B54853
square
#8AB548 #48B5AA #7348B5 #B54853
split-complementary
#8AB548 #4853B5 #AA48B5
monochromatic
#475D25 #698937 #8AB548 #A6C773 #C2D99F

Accessibility & contrast

On white

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

On black

8.78
#8AB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB548
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB548#FFFFFF#000000##000000
##8AB5481.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93C
Deuteranopia (green-blind)
#B7A750
Tritanopia (blue-blind)
#8EAD9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ab548;
/* rgb */ color: rgb(138, 181, 72);
/* oklch */ color: oklch(71.9% 0.146 127.8);
Tailwind
colors: {
  custom: {
    50: '#afcb7f',
    500: '#8ab548',
    950: '#000000',
  },
}
SCSS
$custom: #8ab548;
$custom-light: #afcb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab548",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 83.67,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71927,
    "c": 0.14597,
    "h": 127.8
  },
  "luminance": 0.38919
}

Semantic roles & 50–950 ramp

primary
#8AB548
secondary
#A793C5
accent
#55D387
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB548

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

Preview Lab → · Contrast checker → · Palette generator →

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