#8AA421#8AA421

#8AA421 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.6% C 0.151 H 120.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8AA421
RGBrgb(138, 164, 33)
HSLhsl(72, 66%, 39%)
HSVhsv(72, 80%, 64%)
CMYKcmyk(15.9%, 0%, 79.9%, 35.7%)
CIE-LABlab(63.40, -26.05, 59.28)
CIE-LCHlch(63.40, 64.76, 113.73°)
OKLaboklab(67.56% -0.0774 0.1297)
OKLCHoklch(67.56% 0.151 120.8)
XYZxyz(24.0317, 32.0640, 6.3615)
Luminance0.3206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA421 #3B21A4
analogous
#A47C21 #8AA421 #49A421
triadic
#8AA421 #218AA4 #A4218A
tetradic
#8AA421 #21A47C #3B21A4 #A42149
square
#8AA421 #21A47C #3B21A4 #A42149
split-complementary
#8AA421 #2149A4 #7C21A4
monochromatic
#343E0C #5F7117 #8AA421 #B4D52D #C6DF60

Accessibility & contrast

On white

2.83
#8AA421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#8AA421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA421
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA421#FFFFFF#000000##000000
##8AA4211.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AB9A2E
Tritanopia (blue-blind)
#929B8C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8aa421;
/* rgb */ color: rgb(138, 164, 33);
/* oklch */ color: oklch(67.6% 0.151 120.8);
Tailwind
colors: {
  custom: {
    50: '#b0bf69',
    500: '#8aa421',
    950: '#000000',
  },
}
SCSS
$custom: #8aa421;
$custom-light: #b0bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa421",
  "rgb": {
    "r": 138,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 71.908,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.15103,
    "h": 120.8
  },
  "luminance": 0.32064
}

Semantic roles & 50–950 ramp

primary
#8AA421
secondary
#715DC4
accent
#3EE960
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA421

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

Preview Lab → · Contrast checker → · Palette generator →

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