#8AAF4C#8AAF4C

#8AAF4C is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.5% C 0.134 H 126.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8AAF4C
RGBrgb(138, 175, 76)
HSLhsl(82, 39%, 49%)
HSVhsv(82, 57%, 69%)
CMYKcmyk(21.1%, 0%, 56.6%, 31.4%)
CIE-LABlab(66.96, -28.45, 45.92)
CIE-LCHlch(66.96, 54.02, 121.78°)
OKLaboklab(70.54% -0.0802 0.1076)
OKLCHoklch(70.54% 0.134 126.7)
XYZxyz(27.1157, 36.5846, 12.4690)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF4C #714CAF
analogous
#AFA34C #8AAF4C #59AF4C
triadic
#8AAF4C #4C8AAF #AF4C8A
tetradic
#8AAF4C #4CAFA3 #714CAF #AF4C59
square
#8AAF4C #4CAFA3 #714CAF #AF4C59
split-complementary
#8AAF4C #4C59AF #A34CAF
monochromatic
#475A27 #688439 #8AAF4C #A6C375 #C2D6A0

Accessibility & contrast

On white

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

On black

8.32
#8AAF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF4C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF4C#FFFFFF#000000##000000
##8AAF4C1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A442
Deuteranopia (green-blind)
#B2A252
Tritanopia (blue-blind)
#8FA899
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf4c;
/* rgb */ color: rgb(138, 175, 76);
/* oklch */ color: oklch(70.5% 0.134 126.7);
Tailwind
colors: {
  custom: {
    50: '#aec781',
    500: '#8aaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf4c;
$custom-light: #aec781;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf4c",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 82.424,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70543,
    "c": 0.13422,
    "h": 126.7
  },
  "luminance": 0.36585
}

Semantic roles & 50–950 ramp

primary
#8AAF4C
secondary
#A694C2
accent
#58CF85
background
#FAFCF8
surface
#F5F8EF
border
#CFD1CA
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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