#8FA72D#8FA72D

#8FA72D is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.7% C 0.146 H 120.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8FA72D
RGBrgb(143, 167, 45)
HSLhsl(72, 58%, 42%)
HSVhsv(72, 73%, 65%)
CMYKcmyk(14.4%, 0%, 73.1%, 34.5%)
CIE-LABlab(64.70, -24.84, 56.68)
CIE-LCHlch(64.70, 61.88, 113.67°)
OKLaboklab(68.72% -0.0734 0.1261)
OKLCHoklch(68.72% 0.146 120.2)
XYZxyz(25.6205, 33.6666, 7.6307)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA72D #452DA7
analogous
#A7822D #8FA72D #52A72D
triadic
#8FA72D #2D8FA7 #A72D8F
tetradic
#8FA72D #2DA782 #452DA7 #A72D52
square
#8FA72D #2DA782 #452DA7 #A72D52
split-complementary
#8FA72D #2D52A7 #822DA7
monochromatic
#3C4713 #667720 #8FA72D #B2CD44 #C6DA75

Accessibility & contrast

On white

2.72
#8FA72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8FA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA72D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA72D#FFFFFF#000000##000000
##8FA72D1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D16
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#979E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa72d;
/* rgb */ color: rgb(143, 167, 45);
/* oklch */ color: oklch(68.7% 0.146 120.2);
Tailwind
colors: {
  custom: {
    50: '#b3c16f',
    500: '#8fa72d',
    950: '#000000',
  },
}
SCSS
$custom: #8fa72d;
$custom-light: #b3c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa72d",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 71.803,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68718,
    "c": 0.14589,
    "h": 120.2
  },
  "luminance": 0.33667
}

Semantic roles & 50–950 ramp

primary
#8FA72D
secondary
#7F6EC1
accent
#47E165
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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