#8FA82F#8FA82F

#8FA82F is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 69.0% C 0.146 H 120.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8FA82F
RGBrgb(143, 168, 47)
HSLhsl(72, 56%, 42%)
HSVhsv(72, 72%, 66%)
CMYKcmyk(14.9%, 0%, 72%, 34.1%)
CIE-LABlab(65.00, -25.22, 56.24)
CIE-LCHlch(65.00, 61.64, 114.16°)
OKLaboklab(68.97% -0.0743 0.1255)
OKLCHoklch(68.97% 0.146 120.6)
XYZxyz(25.8438, 34.0502, 7.8996)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA82F #482FA8
analogous
#A8852F #8FA82F #52A82F
triadic
#8FA82F #2F8FA8 #A82F8F
tetradic
#8FA82F #2FA885 #482FA8 #A82F52
square
#8FA82F #2FA885 #482FA8 #A82F52
split-complementary
#8FA82F #2F52A8 #852FA8
monochromatic
#3E4814 #667822 #8FA82F #B1CC48 #C5D978

Accessibility & contrast

On white

2.69
#8FA82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#8FA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA82F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA82F#FFFFFF#000000##000000
##8FA82F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E19
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#979F90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa82f;
/* rgb */ color: rgb(143, 168, 47);
/* oklch */ color: oklch(69.0% 0.146 120.6);
Tailwind
colors: {
  custom: {
    50: '#b3c170',
    500: '#8fa82f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa82f;
$custom-light: #b3c170;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa82f",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 72.397,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68968,
    "c": 0.14583,
    "h": 120.6
  },
  "luminance": 0.3405
}

Semantic roles & 50–950 ramp

primary
#8FA82F
secondary
#8271C1
accent
#48E068
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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