#8AA118#8AA118

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

Color values

HEX#8AA118
RGBrgb(138, 161, 24)
HSLhsl(70, 74%, 36%)
HSVhsv(70, 85%, 63%)
CMYKcmyk(14.3%, 0%, 85.1%, 36.9%)
CIE-LABlab(62.47, -24.91, 60.89)
CIE-LCHlch(62.47, 65.79, 112.25°)
OKLaboklab(66.8% -0.0749 0.1316)
OKLCHoklch(66.8% 0.151 119.6)
XYZxyz(23.3915, 30.9591, 5.6074)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA118 #2F18A1
analogous
#A17418 #8AA118 #46A118
triadic
#8AA118 #188AA1 #A1188A
tetradic
#8AA118 #18A174 #2F18A1 #A11846
square
#8AA118 #18A174 #2F18A1 #A11846
split-complementary
#8AA118 #1846A1 #7418A1
monochromatic
#2F3608 #5C6C10 #8AA118 #B8D620 #CCE54F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA118#FFFFFF#000000##000000
##8AA1181.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)
#A99728
Tritanopia (blue-blind)
#939889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa118;
/* rgb */ color: rgb(138, 161, 24);
/* oklch */ color: oklch(66.8% 0.151 119.6);
Tailwind
colors: {
  custom: {
    50: '#b0bc65',
    500: '#8aa118',
    950: '#000000',
  },
}
SCSS
$custom: #8aa118;
$custom-light: #b0bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa118",
  "rgb": {
    "r": 138,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 70.073,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.15142,
    "h": 119.6
  },
  "luminance": 0.30959
}

Semantic roles & 50–950 ramp

primary
#8AA118
secondary
#624EC7
accent
#37F156
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8AA118

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

Preview Lab → · Contrast checker → · Palette generator →

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