#8AA021#8AA021

#8AA021 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.6% C 0.146 H 119.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8AA021
RGBrgb(138, 160, 33)
HSLhsl(70, 66%, 38%)
HSVhsv(70, 79%, 63%)
CMYKcmyk(13.8%, 0%, 79.4%, 37.3%)
CIE-LABlab(62.22, -24.09, 58.21)
CIE-LCHlch(62.22, 63.00, 112.48°)
OKLaboklab(66.61% -0.072 0.1274)
OKLCHoklch(66.61% 0.146 119.5)
XYZxyz(23.3271, 30.6548, 6.1266)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA021 #3721A0
analogous
#A07721 #8AA021 #4AA021
triadic
#8AA021 #218AA0 #A0218A
tetradic
#8AA021 #21A077 #3721A0 #A0214A
square
#8AA021 #21A077 #3721A0 #A0214A
split-complementary
#8AA021 #214AA0 #7721A0
monochromatic
#323B0C #5E6D17 #8AA021 #B6D32B #C8DE5E

Accessibility & contrast

On white

2.94
#8AA021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#8AA021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA021
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA021#FFFFFF#000000##000000
##8AA0211.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#929789
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8aa021;
/* rgb */ color: rgb(138, 160, 33);
/* oklch */ color: oklch(66.6% 0.146 119.5);
Tailwind
colors: {
  custom: {
    50: '#b0bc68',
    500: '#8aa021',
    950: '#000000',
  },
}
SCSS
$custom: #8aa021;
$custom-light: #b0bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa021",
  "rgb": {
    "r": 138,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 70.394,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.14637,
    "h": 119.5
  },
  "luminance": 0.30655
}

Semantic roles & 50–950 ramp

primary
#8AA021
secondary
#6D5BC2
accent
#3FE95C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA021

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

Preview Lab → · Contrast checker → · Palette generator →

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