#8AAF2F#8AAF2F

#8AAF2F is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.157 H 124.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8AAF2F
RGBrgb(138, 175, 47)
HSLhsl(77, 58%, 44%)
HSVhsv(77, 73%, 69%)
CMYKcmyk(21.1%, 0%, 73.1%, 31.4%)
CIE-LABlab(66.72, -30.65, 57.82)
CIE-LCHlch(66.72, 65.44, 117.93°)
OKLaboklab(70.27% -0.0889 0.1289)
OKLCHoklch(70.27% 0.157 124.6)
XYZxyz(26.3245, 36.2682, 8.3024)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF2F #542FAF
analogous
#AF942F #8AAF2F #4AAF2F
triadic
#8AAF2F #2F8AAF #AF2F8A
tetradic
#8AAF2F #2FAF94 #542FAF #AF2F4A
square
#8AAF2F #2FAF94 #542FAF #AF2F4A
split-complementary
#8AAF2F #2F4AAF #942FAF
monochromatic
#3E4F15 #647F22 #8AAF2F #A9CF4C #C0DC7C

Accessibility & contrast

On white

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

On black

8.25
#8AAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF2F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF2F#FFFFFF#000000##000000
##8AAF2F1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A416
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#91A696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf2f;
/* rgb */ color: rgb(138, 175, 47);
/* oklch */ color: oklch(70.3% 0.157 124.6);
Tailwind
colors: {
  custom: {
    50: '#b0c770',
    500: '#8aaf2f',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf2f;
$custom-light: #b0c770;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf2f",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 77.344,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.15662,
    "h": 124.6
  },
  "luminance": 0.36268
}

Semantic roles & 50–950 ramp

primary
#8AAF2F
secondary
#8C75C4
accent
#47E173
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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