#8AB72E#8AB72E

#8AB72E is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.2% C 0.167 H 126.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8AB72E
RGBrgb(138, 183, 46)
HSLhsl(80, 60%, 45%)
HSVhsv(80, 75%, 72%)
CMYKcmyk(24.6%, 0%, 74.9%, 28.2%)
CIE-LABlab(69.09, -34.43, 60.46)
CIE-LCHlch(69.09, 69.57, 119.66°)
OKLaboklab(72.19% -0.0993 0.1343)
OKLCHoklch(72.19% 0.167 126.5)
XYZxyz(27.9080, 39.4670, 8.7318)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB72E #5B2EB7
analogous
#B79F2E #8AB72E #46B72E
triadic
#8AB72E #2E8AB7 #B72E8A
tetradic
#8AB72E #2EB79F #5B2EB7 #B72E46
square
#8AB72E #2EB79F #5B2EB7 #B72E46
split-complementary
#8AB72E #2E46B7 #9F2EB7
monochromatic
#405515 #658622 #8AB72E #A8D34F #C0DF80

Accessibility & contrast

On white

2.36
#8AB72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#8AB72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB72E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB72E#FFFFFF#000000##000000
##8AB72E1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA0F
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#90AE9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ab72e;
/* rgb */ color: rgb(138, 183, 46);
/* oklch */ color: oklch(72.2% 0.167 126.5);
Tailwind
colors: {
  custom: {
    50: '#b0cc71',
    500: '#8ab72e',
    950: '#000000',
  },
}
SCSS
$custom: #8ab72e;
$custom-light: #b0cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab72e",
  "rgb": {
    "r": 138,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 79.708,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.16705,
    "h": 126.5
  },
  "luminance": 0.39468
}

Semantic roles & 50–950 ramp

primary
#8AB72E
secondary
#9379C8
accent
#45E379
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB72E

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

Preview Lab → · Contrast checker → · Palette generator →

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