#8AAF47#8AAF47

#8AAF47 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.5% C 0.139 H 126.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8AAF47
RGBrgb(138, 175, 71)
HSLhsl(81, 42%, 48%)
HSVhsv(81, 59%, 69%)
CMYKcmyk(21.1%, 0%, 59.4%, 31.4%)
CIE-LABlab(66.91, -28.91, 48.17)
CIE-LCHlch(66.91, 56.18, 120.97°)
OKLaboklab(70.49% -0.0819 0.1119)
OKLCHoklch(70.49% 0.139 126.2)
XYZxyz(26.9486, 36.5178, 11.5889)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF47 #6C47AF
analogous
#AFA047 #8AAF47 #56AF47
triadic
#8AAF47 #478AAF #AF478A
tetradic
#8AAF47 #47AFA0 #6C47AF #AF4756
square
#8AAF47 #47AFA0 #6C47AF #AF4756
split-complementary
#8AAF47 #4756AF #A047AF
monochromatic
#455824 #688335 #8AAF47 #A6C46F #C1D69A

Accessibility & contrast

On white

2.53
#8AAF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#8AAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF47
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF47#FFFFFF#000000##000000
##8AAF471.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43C
Deuteranopia (green-blind)
#B2A24E
Tritanopia (blue-blind)
#8FA799
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf47;
/* rgb */ color: rgb(138, 175, 71);
/* oklch */ color: oklch(70.5% 0.139 126.2);
Tailwind
colors: {
  custom: {
    50: '#afc77e',
    500: '#8aaf47',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf47;
$custom-light: #afc77e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf47",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 81.346,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70486,
    "c": 0.13871,
    "h": 126.2
  },
  "luminance": 0.36518
}

Semantic roles & 50–950 ramp

primary
#8AAF47
secondary
#A28FC2
accent
#56D282
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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