#8AB52C#8AB52C

#8AB52C is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.7% C 0.166 H 125.9°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8AB52C
RGBrgb(138, 181, 44)
HSLhsl(79, 61%, 44%)
HSVhsv(79, 76%, 71%)
CMYKcmyk(23.8%, 0%, 75.7%, 29%)
CIE-LABlab(68.48, -33.62, 60.55)
CIE-LCHlch(68.48, 69.25, 119.04°)
OKLaboklab(71.69% -0.0972 0.1342)
OKLCHoklch(71.69% 0.166 125.9)
XYZxyz(27.4599, 38.6325, 8.3925)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB52C #572CB5
analogous
#B59C2C #8AB52C #46B52C
triadic
#8AB52C #2C8AB5 #B52C8A
tetradic
#8AB52C #2CB59C #572CB5 #B52C46
square
#8AB52C #2CB59C #572CB5 #B52C46
split-complementary
#8AB52C #2C46B5 #9C2CB5
monochromatic
#3F5314 #648420 #8AB52C #A8D34B #C0DF7C

Accessibility & contrast

On white

2.41
#8AB52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#8AB52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB52C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB52C#FFFFFF#000000##000000
##8AB52C1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90B
Deuteranopia (green-blind)
#B9A639
Tritanopia (blue-blind)
#90AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab52c;
/* rgb */ color: rgb(138, 181, 44);
/* oklch */ color: oklch(71.7% 0.166 125.9);
Tailwind
colors: {
  custom: {
    50: '#b0cb70',
    500: '#8ab52c',
    950: '#000000',
  },
}
SCSS
$custom: #8ab52c;
$custom-light: #b0cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab52c",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 78.832,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71692,
    "c": 0.16572,
    "h": 125.9
  },
  "luminance": 0.38633
}

Semantic roles & 50–950 ramp

primary
#8AB52C
secondary
#8F75C8
accent
#44E476
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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