#8AAA51#8AAA51

#8AAA51 is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 69.4% C 0.122 H 125.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8AAA51
RGBrgb(138, 170, 81)
HSLhsl(82, 35%, 49%)
HSVhsv(82, 52%, 67%)
CMYKcmyk(18.8%, 0%, 52.4%, 33.3%)
CIE-LABlab(65.55, -25.52, 41.87)
CIE-LCHlch(65.55, 49.03, 121.37°)
OKLaboklab(69.42% -0.0716 0.0993)
OKLCHoklch(69.42% 0.122 125.8)
XYZxyz(26.3411, 34.7465, 13.1020)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA51 #7151AA
analogous
#AA9E51 #8AAA51 #5EAA51
triadic
#8AAA51 #518AAA #AA518A
tetradic
#8AAA51 #51AA9E #7151AA #AA515E
square
#8AAA51 #51AA9E #7151AA #AA515E
split-complementary
#8AAA51 #515EAA #9E51AA
monochromatic
#47572A #68813D #8AAA51 #A6BF79 #C2D3A2

Accessibility & contrast

On white

2.64
#8AAA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#8AAA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAA51
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAA51#FFFFFF#000000##000000
##8AAA511.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A049
Deuteranopia (green-blind)
#AD9F56
Tritanopia (blue-blind)
#8FA396
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8aaa51;
/* rgb */ color: rgb(138, 170, 81);
/* oklch */ color: oklch(69.4% 0.122 125.8);
Tailwind
colors: {
  custom: {
    50: '#aec384',
    500: '#8aaa51',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa51;
$custom-light: #aec384;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa51",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 81
  },
  "hsl": {
    "h": 81.573,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69421,
    "c": 0.12243,
    "h": 125.8
  },
  "luminance": 0.34747
}

Semantic roles & 50–950 ramp

primary
#8AAA51
secondary
#A697C0
accent
#5CCB84
background
#FAFCF8
surface
#F5F8EF
border
#CFD1CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #8AAA51

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

Preview Lab → · Contrast checker → · Palette generator →

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