#8AA117#8AA117

#8AA117 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.8% C 0.152 H 119.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8AA117
RGBrgb(138, 161, 23)
HSLhsl(70, 75%, 36%)
HSVhsv(70, 86%, 63%)
CMYKcmyk(14.3%, 0%, 85.7%, 36.9%)
CIE-LABlab(62.47, -24.94, 61.12)
CIE-LCHlch(62.47, 66.01, 112.20°)
OKLaboklab(66.8% -0.075 0.132)
OKLCHoklch(66.8% 0.152 119.6)
XYZxyz(23.3813, 30.9550, 5.5536)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA117 #2E17A1
analogous
#A17317 #8AA117 #45A117
triadic
#8AA117 #178AA1 #A1178A
tetradic
#8AA117 #17A173 #2E17A1 #A11745
square
#8AA117 #17A173 #2E17A1 #A11745
split-complementary
#8AA117 #1745A1 #7317A1
monochromatic
#2E3608 #5C6B0F #8AA117 #B8D71F #CCE64D

Accessibility & contrast

On white

2.92
#8AA117 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#8AA117 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA117
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA117#FFFFFF#000000##000000
##8AA1171.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#939889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa117;
/* rgb */ color: rgb(138, 161, 23);
/* oklch */ color: oklch(66.8% 0.152 119.6);
Tailwind
colors: {
  custom: {
    50: '#b0bc64',
    500: '#8aa117',
    950: '#000000',
  },
}
SCSS
$custom: #8aa117;
$custom-light: #b0bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa117",
  "rgb": {
    "r": 138,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 70,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66798,
    "c": 0.1518,
    "h": 119.6
  },
  "luminance": 0.30955
}

Semantic roles & 50–950 ramp

primary
#8AA117
secondary
#614CC7
accent
#36F255
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8AA117

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

Preview Lab → · Contrast checker → · Palette generator →

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