#8AAF3F#8AAF3F

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

Color values

HEX#8AAF3F
RGBrgb(138, 175, 63)
HSLhsl(80, 47%, 47%)
HSVhsv(80, 64%, 69%)
CMYKcmyk(21.1%, 0%, 64%, 31.4%)
CIE-LABlab(66.84, -29.58, 51.63)
CIE-LCHlch(66.84, 59.50, 119.81°)
OKLaboklab(70.4% -0.0845 0.1183)
OKLCHoklch(70.4% 0.145 125.5)
XYZxyz(26.7085, 36.4218, 10.3247)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF3F #643FAF
analogous
#AF9C3F #8AAF3F #52AF3F
triadic
#8AAF3F #3F8AAF #AF3F8A
tetradic
#8AAF3F #3FAF9C #643FAF #AF3F52
square
#8AAF3F #3FAF9C #643FAF #AF3F52
split-complementary
#8AAF3F #3F52AF #9C3FAF
monochromatic
#43551F #67822F #8AAF3F #A6C764 #C0D791

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AAF3F#FFFFFF#000000##000000
##8AAF3F1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aaf3f;
/* rgb */ color: rgb(138, 175, 63);
/* oklch */ color: oklch(70.4% 0.145 125.5);
Tailwind
colors: {
  custom: {
    50: '#afc779',
    500: '#8aaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf3f;
$custom-light: #afc779;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf3f",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 79.821,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70403,
    "c": 0.14537,
    "h": 125.5
  },
  "luminance": 0.36422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8AAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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