#8FA52A#8FA52A

#8FA52A is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.2% C 0.145 H 119.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8FA52A
RGBrgb(143, 165, 42)
HSLhsl(71, 59%, 41%)
HSVhsv(71, 75%, 65%)
CMYKcmyk(13.3%, 0%, 74.5%, 35.3%)
CIE-LABlab(64.09, -24.02, 57.16)
CIE-LCHlch(64.09, 62.00, 112.79°)
OKLaboklab(68.23% -0.0714 0.1266)
OKLCHoklch(68.23% 0.145 119.4)
XYZxyz(25.2012, 32.9172, 7.2161)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA52A #402AA5
analogous
#A57D2A #8FA52A #51A52A
triadic
#8FA52A #2A8FA5 #A52A8F
tetradic
#8FA52A #2AA57D #402AA5 #A52A51
square
#8FA52A #2AA57D #402AA5 #A52A51
split-complementary
#8FA52A #2A51A5 #7D2AA5
monochromatic
#3A4311 #65741E #8FA52A #B4CE3E #C7DA6F

Accessibility & contrast

On white

2.77
#8FA52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#8FA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA52A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA52A#FFFFFF#000000##000000
##8FA52A1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B10
Deuteranopia (green-blind)
#AD9C35
Tritanopia (blue-blind)
#989C8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa52a;
/* rgb */ color: rgb(143, 165, 42);
/* oklch */ color: oklch(68.2% 0.145 119.4);
Tailwind
colors: {
  custom: {
    50: '#b3bf6d',
    500: '#8fa52a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa52a;
$custom-light: #b3bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa52a",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 70.732,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.14532,
    "h": 119.4
  },
  "luminance": 0.32917
}

Semantic roles & 50–950 ramp

primary
#8FA52A
secondary
#7969C1
accent
#45E361
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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