#8FA822#8FA822

#8FA822 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.9% C 0.153 H 120.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8FA822
RGBrgb(143, 168, 34)
HSLhsl(71, 66%, 40%)
HSVhsv(71, 80%, 66%)
CMYKcmyk(14.9%, 0%, 79.8%, 34.1%)
CIE-LABlab(64.93, -25.86, 60.51)
CIE-LCHlch(64.93, 65.80, 113.14°)
OKLaboklab(68.89% -0.0771 0.1323)
OKLCHoklch(68.89% 0.153 120.2)
XYZxyz(25.6196, 33.9605, 6.7184)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA822 #3B22A8
analogous
#A87E22 #8FA822 #4CA822
triadic
#8FA822 #228FA8 #A8228F
tetradic
#8FA822 #22A87E #3B22A8 #A8224C
square
#8FA822 #22A87E #3B22A8 #A8224C
split-complementary
#8FA822 #224CA8 #7E22A8
monochromatic
#38420D #647518 #8FA822 #B7D532 #C9E065

Accessibility & contrast

On white

2.70
#8FA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#8FA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA822
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA822#FFFFFF#000000##000000
##8FA8221.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#989F90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa822;
/* rgb */ color: rgb(143, 168, 34);
/* oklch */ color: oklch(68.9% 0.153 120.2);
Tailwind
colors: {
  custom: {
    50: '#b3c16a',
    500: '#8fa822',
    950: '#000000',
  },
}
SCSS
$custom: #8fa822;
$custom-light: #b3c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa822",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 71.194,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68888,
    "c": 0.15311,
    "h": 120.2
  },
  "luminance": 0.3396
}

Semantic roles & 50–950 ramp

primary
#8FA822
secondary
#7361C5
accent
#3FE95E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA822

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

Preview Lab → · Contrast checker → · Palette generator →

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