#8AAF56#8AAF56

#8AAF56 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.7% C 0.125 H 127.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8AAF56
RGBrgb(138, 175, 86)
HSLhsl(85, 36%, 51%)
HSVhsv(85, 51%, 69%)
CMYKcmyk(21.1%, 0%, 50.9%, 31.4%)
CIE-LABlab(67.08, -27.43, 41.23)
CIE-LCHlch(67.08, 49.52, 123.63°)
OKLaboklab(70.67% -0.0765 0.0983)
OKLCHoklch(70.67% 0.125 127.9)
XYZxyz(27.4907, 36.7347, 14.4445)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF56 #7B56AF
analogous
#AFA756 #8AAF56 #5DAF56
triadic
#8AAF56 #568AAF #AF568A
tetradic
#8AAF56 #56AFA7 #7B56AF #AF565D
square
#8AAF56 #56AFA7 #7B56AF #AF565D
split-complementary
#8AAF56 #565DAF #A756AF
monochromatic
#495E2D #6A8840 #8AAF56 #A7C380 #C4D6A9

Accessibility & contrast

On white

2.52
#8AAF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#8AAF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF56
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF56#FFFFFF#000000##000000
##8AAF561.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54E
Deuteranopia (green-blind)
#B1A35B
Tritanopia (blue-blind)
#8EA89B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf56;
/* rgb */ color: rgb(138, 175, 86);
/* oklch */ color: oklch(70.7% 0.125 127.9);
Tailwind
colors: {
  custom: {
    50: '#aec788',
    500: '#8aaf56',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf56;
$custom-light: #aec788;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf56",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 86
  },
  "hsl": {
    "h": 84.944,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.70671,
    "c": 0.12458,
    "h": 127.9
  },
  "luminance": 0.36735
}

Semantic roles & 50–950 ramp

primary
#8AAF56
secondary
#AD9DC4
accent
#5CCC8A
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #8AAF56

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

Preview Lab → · Contrast checker → · Palette generator →

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