#8AB751#8AB751

#8AB751 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.5% C 0.141 H 129.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8AB751
RGBrgb(138, 183, 81)
HSLhsl(86, 41%, 52%)
HSVhsv(86, 56%, 72%)
CMYKcmyk(24.6%, 0%, 55.7%, 28.2%)
CIE-LABlab(69.37, -31.77, 46.36)
CIE-LCHlch(69.37, 56.20, 124.42°)
OKLaboklab(72.51% -0.089 0.1091)
OKLCHoklch(72.51% 0.141 129.2)
XYZxyz(28.8997, 39.8637, 13.9549)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB751 #7E51B7
analogous
#B7B151 #8AB751 #57B751
triadic
#8AB751 #518AB7 #B7518A
tetradic
#8AB751 #51B7B1 #7E51B7 #B75157
square
#8AB751 #51B7B1 #7E51B7 #B75157
split-complementary
#8AB751 #5157B7 #B151B7
monochromatic
#4A6429 #6A8F3B #8AB751 #A7C97C #C4DBA8

Accessibility & contrast

On white

2.34
#8AB751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#8AB751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB751
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB751#FFFFFF#000000##000000
##8AB7511.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB47
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#8DB0A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ab751;
/* rgb */ color: rgb(138, 183, 81);
/* oklch */ color: oklch(72.5% 0.141 129.2);
Tailwind
colors: {
  custom: {
    50: '#afcc85',
    500: '#8ab751',
    950: '#000000',
  },
}
SCSS
$custom: #8ab751;
$custom-light: #afcc85;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab751",
  "rgb": {
    "r": 138,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 86.471,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72506,
    "c": 0.14075,
    "h": 129.2
  },
  "luminance": 0.39864
}

Semantic roles & 50–950 ramp

primary
#8AB751
secondary
#AF9CC8
accent
#57D18D
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8AB751

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

Preview Lab → · Contrast checker → · Palette generator →

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