#8FA82A#8FA82A

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

Color values

HEX#8FA82A
RGBrgb(143, 168, 42)
HSLhsl(72, 60%, 41%)
HSVhsv(72, 75%, 66%)
CMYKcmyk(14.9%, 0%, 75%, 34.1%)
CIE-LABlab(64.97, -25.49, 57.99)
CIE-LCHlch(64.97, 63.35, 113.73°)
OKLaboklab(68.93% -0.0754 0.1284)
OKLCHoklch(68.93% 0.149 120.4)
XYZxyz(25.7487, 34.0121, 7.3986)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA82A #432AA8
analogous
#A8822A #8FA82A #50A82A
triadic
#8FA82A #2A8FA8 #A82A8F
tetradic
#8FA82A #2AA882 #432AA8 #A82A50
square
#8FA82A #2AA882 #432AA8 #A82A50
split-complementary
#8FA82A #2A50A8 #822AA8
monochromatic
#3C4612 #65771E #8FA82A #B3CF40 #C6DB71

Accessibility & contrast

On white

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

On black

7.80
#8FA82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA82A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA82A#FFFFFF#000000##000000
##8FA82A1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa82a;
/* rgb */ color: rgb(143, 168, 42);
/* oklch */ color: oklch(68.9% 0.149 120.4);
Tailwind
colors: {
  custom: {
    50: '#b3c16d',
    500: '#8fa82a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa82a;
$custom-light: #b3c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa82a",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 71.905,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68934,
    "c": 0.14888,
    "h": 120.4
  },
  "luminance": 0.34012
}

Semantic roles & 50–950 ramp

primary
#8FA82A
secondary
#7D6BC3
accent
#45E364
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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