#8AAF3E#8AAF3E

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

Color values

HEX#8AAF3E
RGBrgb(138, 175, 62)
HSLhsl(80, 48%, 46%)
HSVhsv(80, 65%, 69%)
CMYKcmyk(21.1%, 0%, 64.6%, 31.4%)
CIE-LABlab(66.83, -29.65, 52.04)
CIE-LCHlch(66.83, 59.90, 119.67°)
OKLaboklab(70.39% -0.0848 0.119)
OKLCHoklch(70.39% 0.146 125.5)
XYZxyz(26.6808, 36.4107, 10.1788)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF3E #633EAF
analogous
#AF9C3E #8AAF3E #52AF3E
triadic
#8AAF3E #3E8AAF #AF3E8A
tetradic
#8AAF3E #3EAF9C #633EAF #AF3E52
square
#8AAF3E #3EAF9C #633EAF #AF3E52
split-complementary
#8AAF3E #3E52AF #9C3EAF
monochromatic
#43551E #66822E #8AAF3E #A7C863 #C0D890

Accessibility & contrast

On white

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

On black

8.28
#8AAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF3E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF3E#FFFFFF#000000##000000
##8AAF3E1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A430
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#90A798
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf3e;
/* rgb */ color: rgb(138, 175, 62);
/* oklch */ color: oklch(70.4% 0.146 125.5);
Tailwind
colors: {
  custom: {
    50: '#afc779',
    500: '#8aaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf3e;
$custom-light: #afc779;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf3e",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 79.646,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70394,
    "c": 0.14616,
    "h": 125.5
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#8AAF3E
secondary
#9A86C3
accent
#51D77D
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8AAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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