#8AAF45#8AAF45

#8AAF45 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.5% C 0.140 H 126.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8AAF45
RGBrgb(138, 175, 69)
HSLhsl(81, 43%, 48%)
HSVhsv(81, 61%, 69%)
CMYKcmyk(21.1%, 0%, 60.6%, 31.4%)
CIE-LABlab(66.89, -29.09, 49.06)
CIE-LCHlch(66.89, 57.03, 120.66°)
OKLaboklab(70.46% -0.0826 0.1136)
OKLCHoklch(70.46% 0.14 126)
XYZxyz(26.8854, 36.4925, 11.2564)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF45 #6A45AF
analogous
#AF9F45 #8AAF45 #55AF45
triadic
#8AAF45 #458AAF #AF458A
tetradic
#8AAF45 #45AF9F #6A45AF #AF4555
square
#8AAF45 #45AF9F #6A45AF #AF4555
split-complementary
#8AAF45 #4555AF #9F45AF
monochromatic
#455722 #678334 #8AAF45 #A6C56C #C1D698

Accessibility & contrast

On white

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

On black

8.30
#8AAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF45
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF45#FFFFFF#000000##000000
##8AAF451.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A439
Deuteranopia (green-blind)
#B3A24C
Tritanopia (blue-blind)
#8FA798
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf45;
/* rgb */ color: rgb(138, 175, 69);
/* oklch */ color: oklch(70.5% 0.140 126.0);
Tailwind
colors: {
  custom: {
    50: '#afc77d',
    500: '#8aaf45',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf45;
$custom-light: #afc77d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf45",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 80.943,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70464,
    "c": 0.14043,
    "h": 126
  },
  "luminance": 0.36493
}

Semantic roles & 50–950 ramp

primary
#8AAF45
secondary
#A08DC2
accent
#55D381
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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