#8AA72D#8AA72D

#8AA72D is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.3% C 0.148 H 122.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8AA72D
RGBrgb(138, 167, 45)
HSLhsl(74, 58%, 42%)
HSVhsv(74, 73%, 65%)
CMYKcmyk(17.4%, 0%, 73.1%, 34.5%)
CIE-LABlab(64.35, -26.93, 56.21)
CIE-LCHlch(64.35, 62.33, 115.60°)
OKLaboklab(68.35% -0.0789 0.1253)
OKLCHoklch(68.35% 0.148 122.2)
XYZxyz(24.7739, 33.2301, 7.5910)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA72D #4A2DA7
analogous
#A7872D #8AA72D #4DA72D
triadic
#8AA72D #2D8AA7 #A72D8A
tetradic
#8AA72D #2DA787 #4A2DA7 #A72D4D
square
#8AA72D #2DA787 #4A2DA7 #A72D4D
split-complementary
#8AA72D #2D4DA7 #872DA7
monochromatic
#3A4713 #627720 #8AA72D #ACCD44 #C2DA75

Accessibility & contrast

On white

2.75
#8AA72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#8AA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA72D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA72D#FFFFFF#000000##000000
##8AA72D1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D16
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#919E8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8aa72d;
/* rgb */ color: rgb(138, 167, 45);
/* oklch */ color: oklch(68.3% 0.148 122.2);
Tailwind
colors: {
  custom: {
    50: '#afc16f',
    500: '#8aa72d',
    950: '#000000',
  },
}
SCSS
$custom: #8aa72d;
$custom-light: #afc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa72d",
  "rgb": {
    "r": 138,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 74.262,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68346,
    "c": 0.14801,
    "h": 122.2
  },
  "luminance": 0.3323
}

Semantic roles & 50–950 ramp

primary
#8AA72D
secondary
#826EC1
accent
#47E16C
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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