#8AA821#8AA821

#8AA821 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.5% C 0.156 H 122.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8AA821
RGBrgb(138, 168, 33)
HSLhsl(73, 67%, 39%)
HSVhsv(73, 80%, 66%)
CMYKcmyk(17.9%, 0%, 80.4%, 34.1%)
CIE-LABlab(64.58, -28.00, 60.35)
CIE-LCHlch(64.58, 66.53, 114.89°)
OKLaboklab(68.51% -0.0827 0.132)
OKLCHoklch(68.51% 0.156 122.1)
XYZxyz(24.7588, 33.5183, 6.6039)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA821 #3F21A8
analogous
#A88221 #8AA821 #47A821
triadic
#8AA821 #218AA8 #A8218A
tetradic
#8AA821 #21A882 #3F21A8 #A82147
square
#8AA821 #21A882 #3F21A8 #A82147
split-complementary
#8AA821 #2147A8 #8221A8
monochromatic
#36420D #607517 #8AA821 #B1D630 #C5E063

Accessibility & contrast

On white

2.73
#8AA821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8AA821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA821
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA821#FFFFFF#000000##000000
##8AA8211.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#929F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8aa821;
/* rgb */ color: rgb(138, 168, 33);
/* oklch */ color: oklch(68.5% 0.156 122.1);
Tailwind
colors: {
  custom: {
    50: '#b0c169',
    500: '#8aa821',
    950: '#000000',
  },
}
SCSS
$custom: #8aa821;
$custom-light: #b0c169;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa821",
  "rgb": {
    "r": 138,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 73.333,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68513,
    "c": 0.15574,
    "h": 122.1
  },
  "luminance": 0.33518
}

Semantic roles & 50–950 ramp

primary
#8AA821
secondary
#765FC5
accent
#3EEA64
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA821

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

Preview Lab → · Contrast checker → · Palette generator →

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