#8AAF2A#8AAF2A

#8AAF2A is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.2% C 0.160 H 124.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8AAF2A
RGBrgb(138, 175, 42)
HSLhsl(77, 61%, 43%)
HSVhsv(77, 76%, 69%)
CMYKcmyk(21.1%, 0%, 76%, 31.4%)
CIE-LABlab(66.70, -30.92, 59.51)
CIE-LCHlch(66.70, 67.06, 117.45°)
OKLaboklab(70.24% -0.09 0.1317)
OKLCHoklch(70.24% 0.16 124.4)
XYZxyz(26.2294, 36.2301, 7.8013)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF2A #4F2AAF
analogous
#AF922A #8AAF2A #47AF2A
triadic
#8AAF2A #2A8AAF #AF2A8A
tetradic
#8AAF2A #2AAF92 #4F2AAF #AF2A47
square
#8AAF2A #2AAF92 #4F2AAF #AF2A47
split-complementary
#8AAF2A #2A47AF #922AAF
monochromatic
#3C4C12 #637E1E #8AAF2A #ABD244 #C1DE75

Accessibility & contrast

On white

2.55
#8AAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AAF2A#FFFFFF#000000##000000
##8AAF2A1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aaf2a;
/* rgb */ color: rgb(138, 175, 42);
/* oklch */ color: oklch(70.2% 0.160 124.4);
Tailwind
colors: {
  custom: {
    50: '#b0c76e',
    500: '#8aaf2a',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf2a;
$custom-light: #b0c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf2a",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 76.692,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70239,
    "c": 0.15952,
    "h": 124.4
  },
  "luminance": 0.3623
}

Semantic roles & 50–950 ramp

primary
#8AAF2A
secondary
#876FC6
accent
#43E470
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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