#8AAF3A#8AAF3A

#8AAF3A is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.4% C 0.149 H 125.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8AAF3A
RGBrgb(138, 175, 58)
HSLhsl(79, 50%, 46%)
HSVhsv(79, 67%, 69%)
CMYKcmyk(21.1%, 0%, 66.9%, 31.4%)
CIE-LABlab(66.80, -29.95, 53.68)
CIE-LCHlch(66.80, 61.47, 119.16°)
OKLaboklab(70.36% -0.086 0.1219)
OKLCHoklch(70.36% 0.149 125.2)
XYZxyz(26.5751, 36.3684, 9.6219)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF3A #5F3AAF
analogous
#AF993A #8AAF3A #4FAF3A
triadic
#8AAF3A #3A8AAF #AF3A8A
tetradic
#8AAF3A #3AAF99 #5F3AAF #AF3A4F
square
#8AAF3A #3AAF99 #5F3AAF #AF3A4F
split-complementary
#8AAF3A #3A4FAF #993AAF
monochromatic
#42531C #66812B #8AAF3A #A7C95D #C0D98B

Accessibility & contrast

On white

2.54
#8AAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#8AAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF3A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF3A#FFFFFF#000000##000000
##8AAF3A1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42A
Deuteranopia (green-blind)
#B3A243
Tritanopia (blue-blind)
#90A797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf3a;
/* rgb */ color: rgb(138, 175, 58);
/* oklch */ color: oklch(70.4% 0.149 125.2);
Tailwind
colors: {
  custom: {
    50: '#afc776',
    500: '#8aaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf3a;
$custom-light: #afc776;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf3a",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 78.974,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70358,
    "c": 0.14919,
    "h": 125.2
  },
  "luminance": 0.36369
}

Semantic roles & 50–950 ramp

primary
#8AAF3A
secondary
#9682C3
accent
#4EDA7A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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