#8AAF39#8AAF39

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

Color values

HEX#8AAF39
RGBrgb(138, 175, 57)
HSLhsl(79, 51%, 45%)
HSVhsv(79, 67%, 69%)
CMYKcmyk(21.1%, 0%, 67.4%, 31.4%)
CIE-LABlab(66.79, -30.02, 54.07)
CIE-LCHlch(66.79, 61.85, 119.04°)
OKLaboklab(70.35% -0.0863 0.1226)
OKLCHoklch(70.35% 0.15 125.1)
XYZxyz(26.5499, 36.3583, 9.4892)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF39 #5E39AF
analogous
#AF9939 #8AAF39 #4FAF39
triadic
#8AAF39 #398AAF #AF398A
tetradic
#8AAF39 #39AF99 #5E39AF #AF394F
square
#8AAF39 #39AF99 #5E39AF #AF394F
split-complementary
#8AAF39 #394FAF #9939AF
monochromatic
#41531B #66812A #8AAF39 #A7CA5B #C0D98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AAF39#FFFFFF#000000##000000
##8AAF391.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)
#B8A428
Deuteranopia (green-blind)
#B3A242
Tritanopia (blue-blind)
#90A797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf39;
/* rgb */ color: rgb(138, 175, 57);
/* oklch */ color: oklch(70.3% 0.150 125.1);
Tailwind
colors: {
  custom: {
    50: '#afc776',
    500: '#8aaf39',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf39;
$custom-light: #afc776;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf39",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 78.814,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.14993,
    "h": 125.1
  },
  "luminance": 0.36359
}

Semantic roles & 50–950 ramp

primary
#8AAF39
secondary
#9681C3
accent
#4DDA7A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AAF39

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

Preview Lab → · Contrast checker → · Palette generator →

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