#8AAF71#8AAF71

#8AAF71 is a light, moderate yellow-green. Relative luminance 0.373; OKLCH L 71.1% C 0.095 H 133.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8AAF71
RGBrgb(138, 175, 113)
HSLhsl(96, 28%, 56%)
HSVhsv(96, 35%, 69%)
CMYKcmyk(21.1%, 0%, 35.4%, 31.4%)
CIE-LABlab(67.47, -23.98, 27.82)
CIE-LCHlch(67.47, 36.73, 130.76°)
OKLaboklab(71.11% -0.0654 0.0692)
OKLCHoklch(71.11% 0.095 133.4)
XYZxyz(28.7912, 37.2549, 21.2936)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF71 #9671AF
analogous
#A9AF71 #8AAF71 #71AF77
triadic
#8AAF71 #718AAF #AF718A
tetradic
#8AAF71 #71A9AF #9671AF #AF7771
square
#8AAF71 #71A9AF #9671AF #AF7771
split-complementary
#8AAF71 #7771AF #AF71A9
monochromatic
#4E6A3C #6B9152 #8AAF71 #AAC598 #CBDBBF

Accessibility & contrast

On white

2.48
#8AAF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#8AAF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF71
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF71#FFFFFF#000000##000000
##8AAF711.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A66D
Deuteranopia (green-blind)
#AEA374
Tritanopia (blue-blind)
#8BAA9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8aaf71;
/* rgb */ color: rgb(138, 175, 113);
/* oklch */ color: oklch(71.1% 0.095 133.4);
Tailwind
colors: {
  custom: {
    50: '#adc79a',
    500: '#8aaf71',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf71;
$custom-light: #adc79a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf71",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 113
  },
  "hsl": {
    "h": 95.806,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.71112,
    "c": 0.09521,
    "h": 133.4
  },
  "luminance": 0.37255
}

Semantic roles & 50–950 ramp

primary
#8AAF71
secondary
#C0B1CB
accent
#64C49D
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8AAF71

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

Preview Lab → · Contrast checker → · Palette generator →

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