#8AB536#8AB536

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

Color values

HEX#8AB536
RGBrgb(138, 181, 54)
HSLhsl(80, 54%, 46%)
HSVhsv(80, 70%, 71%)
CMYKcmyk(23.8%, 0%, 70.2%, 29%)
CIE-LABlab(68.55, -33.04, 57.05)
CIE-LCHlch(68.55, 65.92, 120.07°)
OKLaboklab(71.76% -0.0948 0.1284)
OKLCHoklch(71.76% 0.16 126.5)
XYZxyz(27.6711, 38.7169, 9.5046)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB536 #6136B5
analogous
#B5A036 #8AB536 #4AB536
triadic
#8AB536 #368AB5 #B5368A
tetradic
#8AB536 #36B5A0 #6136B5 #B5364A
square
#8AB536 #36B5A0 #6136B5 #B5364A
split-complementary
#8AB536 #364AB5 #A036B5
monochromatic
#42571A #668628 #8AB536 #A7CE5A #C0DC89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB536#FFFFFF#000000##000000
##8AB5361.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)
#BEA921
Deuteranopia (green-blind)
#B9A641
Tritanopia (blue-blind)
#90AD9C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab536;
/* rgb */ color: rgb(138, 181, 54);
/* oklch */ color: oklch(71.8% 0.160 126.5);
Tailwind
colors: {
  custom: {
    50: '#b0cb75',
    500: '#8ab536',
    950: '#000000',
  },
}
SCSS
$custom: #8ab536;
$custom-light: #b0cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab536",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 80.315,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71761,
    "c": 0.15964,
    "h": 126.5
  },
  "luminance": 0.38717
}

Semantic roles & 50–950 ramp

primary
#8AB536
secondary
#9881C6
accent
#4ADD7C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB536

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

Preview Lab → · Contrast checker → · Palette generator →

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