#8AAE21#8AAE21

#8AAE21 is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 70.0% C 0.163 H 123.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8AAE21
RGBrgb(138, 174, 33)
HSLhsl(75, 68%, 41%)
HSVhsv(75, 81%, 68%)
CMYKcmyk(20.7%, 0%, 81%, 31.8%)
CIE-LABlab(66.36, -30.85, 61.94)
CIE-LCHlch(66.36, 69.20, 116.48°)
OKLaboklab(69.95% -0.0905 0.1353)
OKLCHoklch(69.95% 0.163 123.8)
XYZxyz(25.8921, 35.7850, 6.9817)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAE21 #4521AE
analogous
#AE8B21 #8AAE21 #43AE21
triadic
#8AAE21 #218AAE #AE218A
tetradic
#8AAE21 #21AE8B #4521AE #AE2143
square
#8AAE21 #21AE8B #4521AE #AE2143
split-complementary
#8AAE21 #2143AE #8B21AE
monochromatic
#38470D #617B17 #8AAE21 #AED834 #C3E267

Accessibility & contrast

On white

2.57
#8AAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#8AAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAE21
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAE21#FFFFFF#000000##000000
##8AAE211.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B4A130
Tritanopia (blue-blind)
#91A595
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8aae21;
/* rgb */ color: rgb(138, 174, 33);
/* oklch */ color: oklch(70.0% 0.163 123.8);
Tailwind
colors: {
  custom: {
    50: '#b0c66a',
    500: '#8aae21',
    950: '#000000',
  },
}
SCSS
$custom: #8aae21;
$custom-light: #b0c66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8aae21",
  "rgb": {
    "r": 138,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 75.319,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6995,
    "c": 0.16281,
    "h": 123.8
  },
  "luminance": 0.35785
}

Semantic roles & 50–950 ramp

primary
#8AAE21
secondary
#7D63C8
accent
#3DEB69
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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