#8AA81E#8AA81E

#8AA81E is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.5% C 0.157 H 122.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8AA81E
RGBrgb(138, 168, 30)
HSLhsl(73, 70%, 39%)
HSVhsv(73, 82%, 66%)
CMYKcmyk(17.9%, 0%, 82.1%, 34.1%)
CIE-LABlab(64.57, -28.11, 61.17)
CIE-LCHlch(64.57, 67.32, 114.68°)
OKLaboklab(68.5% -0.0832 0.1332)
OKLCHoklch(68.5% 0.157 122)
XYZxyz(24.7186, 33.5022, 6.3924)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA81E #3C1EA8
analogous
#A8811E #8AA81E #45A81E
triadic
#8AA81E #1E8AA8 #A81E8A
tetradic
#8AA81E #1EA881 #3C1EA8 #A81E45
square
#8AA81E #1EA881 #3C1EA8 #A81E45
split-complementary
#8AA81E #1E45A8 #811EA8
monochromatic
#35400B #5F7415 #8AA81E #B3D92A #C6E25E

Accessibility & contrast

On white

2.73
#8AA81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8AA81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA81E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA81E#FFFFFF#000000##000000
##8AA81E1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#929F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8aa81e;
/* rgb */ color: rgb(138, 168, 30);
/* oklch */ color: oklch(68.5% 0.157 122.0);
Tailwind
colors: {
  custom: {
    50: '#b0c168',
    500: '#8aa81e',
    950: '#000000',
  },
}
SCSS
$custom: #8aa81e;
$custom-light: #b0c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa81e",
  "rgb": {
    "r": 138,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 73.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68498,
    "c": 0.15708,
    "h": 122
  },
  "luminance": 0.33502
}

Semantic roles & 50–950 ramp

primary
#8AA81E
secondary
#735BC7
accent
#3BED62
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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