#8AAF28#8AAF28

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

Color values

HEX#8AAF28
RGBrgb(138, 175, 40)
HSLhsl(76, 63%, 42%)
HSVhsv(76, 77%, 69%)
CMYKcmyk(21.1%, 0%, 77.1%, 31.4%)
CIE-LABlab(66.68, -31.02, 60.15)
CIE-LCHlch(66.68, 67.68, 117.28°)
OKLaboklab(70.23% -0.0905 0.1327)
OKLCHoklch(70.23% 0.161 124.3)
XYZxyz(26.1945, 36.2162, 7.6175)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF28 #4D28AF
analogous
#AF9028 #8AAF28 #47AF28
triadic
#8AAF28 #288AAF #AF288A
tetradic
#8AAF28 #28AF90 #4D28AF #AF2847
square
#8AAF28 #28AF90 #4D28AF #AF2847
split-complementary
#8AAF28 #2847AF #9028AF
monochromatic
#3B4B11 #637D1D #8AAF28 #ABD441 #C1DF73

Accessibility & contrast

On white

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

On black

8.24
#8AAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF28
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF28#FFFFFF#000000##000000
##8AAF281.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aaf28;
/* rgb */ color: rgb(138, 175, 40);
/* oklch */ color: oklch(70.2% 0.161 124.3);
Tailwind
colors: {
  custom: {
    50: '#b0c76d',
    500: '#8aaf28',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf28;
$custom-light: #b0c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf28",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 76.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70227,
    "c": 0.16061,
    "h": 124.3
  },
  "luminance": 0.36216
}

Semantic roles & 50–950 ramp

primary
#8AAF28
secondary
#856DC6
accent
#42E66F
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8AAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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