#8AB532#8AB532

#8AB532 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.7% C 0.162 H 126.2°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8AB532
RGBrgb(138, 181, 50)
HSLhsl(80, 57%, 45%)
HSVhsv(80, 72%, 71%)
CMYKcmyk(23.8%, 0%, 72.4%, 29%)
CIE-LABlab(68.52, -33.28, 58.51)
CIE-LCHlch(68.52, 67.31, 119.64°)
OKLaboklab(71.73% -0.0959 0.1309)
OKLCHoklch(71.73% 0.162 126.2)
XYZxyz(27.5810, 38.6809, 9.0301)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB532 #5D32B5
analogous
#B59F32 #8AB532 #48B532
triadic
#8AB532 #328AB5 #B5328A
tetradic
#8AB532 #32B59F #5D32B5 #B53248
square
#8AB532 #32B59F #5D32B5 #B53248
split-complementary
#8AB532 #3248B5 #9F32B5
monochromatic
#415518 #658525 #8AB532 #A7D054 #C0DD84

Accessibility & contrast

On white

2.40
#8AB532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#8AB532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB532
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB532#FFFFFF#000000##000000
##8AB5321.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#B9A63E
Tritanopia (blue-blind)
#90AC9C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab532;
/* rgb */ color: rgb(138, 181, 50);
/* oklch */ color: oklch(71.7% 0.162 126.2);
Tailwind
colors: {
  custom: {
    50: '#b0cb73',
    500: '#8ab532',
    950: '#000000',
  },
}
SCSS
$custom: #8ab532;
$custom-light: #b0cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab532",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 79.695,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.16221,
    "h": 126.2
  },
  "luminance": 0.38681
}

Semantic roles & 50–950 ramp

primary
#8AB532
secondary
#957CC7
accent
#48E07A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB532

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

Preview Lab → · Contrast checker → · Palette generator →

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