#8FA52F#8FA52F

#8FA52F is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.3% C 0.142 H 119.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8FA52F
RGBrgb(143, 165, 47)
HSLhsl(71, 56%, 42%)
HSVhsv(71, 72%, 65%)
CMYKcmyk(13.3%, 0%, 71.5%, 35.3%)
CIE-LABlab(64.12, -23.74, 55.38)
CIE-LCHlch(64.12, 60.25, 113.21°)
OKLaboklab(68.26% -0.0702 0.1237)
OKLCHoklch(68.26% 0.142 119.6)
XYZxyz(25.2964, 32.9553, 7.7171)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA52F #452FA5
analogous
#A5802F #8FA52F #54A52F
triadic
#8FA52F #2F8FA5 #A52F8F
tetradic
#8FA52F #2FA580 #452FA5 #A52F54
square
#8FA52F #2FA580 #452FA5 #A52F54
split-complementary
#8FA52F #2F54A5 #802FA5
monochromatic
#3C4614 #667521 #8FA52F #B2CB47 #C6D876

Accessibility & contrast

On white

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

On black

7.59
#8FA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA52F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA52F#FFFFFF#000000##000000
##8FA52F1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#979C8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa52f;
/* rgb */ color: rgb(143, 165, 47);
/* oklch */ color: oklch(68.3% 0.142 119.6);
Tailwind
colors: {
  custom: {
    50: '#b3bf6f',
    500: '#8fa52f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa52f;
$custom-light: #b3bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa52f",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 71.186,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68261,
    "c": 0.1422,
    "h": 119.6
  },
  "luminance": 0.32955
}

Semantic roles & 50–950 ramp

primary
#8FA52F
secondary
#7F70C0
accent
#49DF65
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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