#8AA52A#8AA52A

#8AA52A is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.8% C 0.147 H 121.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8AA52A
RGBrgb(138, 165, 42)
HSLhsl(73, 59%, 41%)
HSVhsv(73, 75%, 65%)
CMYKcmyk(16.4%, 0%, 74.5%, 35.3%)
CIE-LABlab(63.74, -26.12, 56.69)
CIE-LCHlch(63.74, 62.42, 114.74°)
OKLaboklab(67.85% -0.0769 0.1258)
OKLCHoklch(67.85% 0.147 121.4)
XYZxyz(24.3547, 32.4807, 7.1764)
Luminance0.3248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA52A #452AA5
analogous
#A5822A #8AA52A #4CA52A
triadic
#8AA52A #2A8AA5 #A52A8A
tetradic
#8AA52A #2AA582 #452AA5 #A52A4C
square
#8AA52A #2AA582 #452AA5 #A52A4C
split-complementary
#8AA52A #2A4CA5 #822AA5
monochromatic
#384311 #61741E #8AA52A #AECE3E #C3DA6F

Accessibility & contrast

On white

2.80
#8AA52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#8AA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA52A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA52A#FFFFFF#000000##000000
##8AA52A1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B10
Deuteranopia (green-blind)
#AC9A35
Tritanopia (blue-blind)
#929C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8aa52a;
/* rgb */ color: rgb(138, 165, 42);
/* oklch */ color: oklch(67.8% 0.147 121.4);
Tailwind
colors: {
  custom: {
    50: '#afbf6d',
    500: '#8aa52a',
    950: '#000000',
  },
}
SCSS
$custom: #8aa52a;
$custom-light: #afbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa52a",
  "rgb": {
    "r": 138,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 73.171,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67849,
    "c": 0.14739,
    "h": 121.4
  },
  "luminance": 0.32481
}

Semantic roles & 50–950 ramp

primary
#8AA52A
secondary
#7D69C1
accent
#45E368
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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