#8AA845#8AA845

#8AA845 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.8% C 0.131 H 124.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8AA845
RGBrgb(138, 168, 69)
HSLhsl(78, 42%, 46%)
HSVhsv(78, 59%, 66%)
CMYKcmyk(17.9%, 0%, 58.9%, 34.1%)
CIE-LABlab(64.83, -25.70, 46.75)
CIE-LCHlch(64.83, 53.34, 118.80°)
OKLaboklab(68.8% -0.0732 0.1087)
OKLCHoklch(68.8% 0.131 124)
XYZxyz(25.5582, 33.8380, 10.8140)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA845 #6345A8
analogous
#A89545 #8AA845 #59A845
triadic
#8AA845 #458AA8 #A8458A
tetradic
#8AA845 #45A895 #6345A8 #A84559
square
#8AA845 #45A895 #6345A8 #A84559
split-complementary
#8AA845 #4559A8 #9545A8
monochromatic
#435121 #667D33 #8AA845 #A7C169 #C0D394

Accessibility & contrast

On white

2.70
#8AA845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#8AA845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA845
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA845#FFFFFF#000000##000000
##8AA8451.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3A
Deuteranopia (green-blind)
#AD9D4C
Tritanopia (blue-blind)
#90A093
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8aa845;
/* rgb */ color: rgb(138, 168, 69);
/* oklch */ color: oklch(68.8% 0.131 124.0);
Tailwind
colors: {
  custom: {
    50: '#aec27c',
    500: '#8aa845',
    950: '#000000',
  },
}
SCSS
$custom: #8aa845;
$custom-light: #aec27c;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa845",
  "rgb": {
    "r": 138,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 78.182,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.68801,
    "c": 0.131,
    "h": 124
  },
  "luminance": 0.33838
}

Semantic roles & 50–950 ramp

primary
#8AA845
secondary
#9A8ABF
accent
#56D27C
background
#FAFBF7
surface
#F5F7EE
border
#CFD0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8AA845

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

Preview Lab → · Contrast checker → · Palette generator →

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