#8FA82C#8FA82C

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

Color values

HEX#8FA82C
RGBrgb(143, 168, 44)
HSLhsl(72, 58%, 42%)
HSVhsv(72, 74%, 66%)
CMYKcmyk(14.9%, 0%, 73.8%, 34.1%)
CIE-LABlab(64.98, -25.39, 57.31)
CIE-LCHlch(64.98, 62.68, 113.89°)
OKLaboklab(68.95% -0.075 0.1273)
OKLCHoklch(68.95% 0.148 120.5)
XYZxyz(25.7854, 34.0268, 7.5918)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA82C #452CA8
analogous
#A8832C #8FA82C #51A82C
triadic
#8FA82C #2C8FA8 #A82C8F
tetradic
#8FA82C #2CA883 #452CA8 #A82C51
square
#8FA82C #2CA883 #452CA8 #A82C51
split-complementary
#8FA82C #2C51A8 #832CA8
monochromatic
#3C4713 #66781F #8FA82C #B2CE43 #C6DB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA82C#FFFFFF#000000##000000
##8FA82C1.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)
#B39E13
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#979F90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa82c;
/* rgb */ color: rgb(143, 168, 44);
/* oklch */ color: oklch(68.9% 0.148 120.5);
Tailwind
colors: {
  custom: {
    50: '#b3c16e',
    500: '#8fa82c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa82c;
$custom-light: #b3c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa82c",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 72.097,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68947,
    "c": 0.1477,
    "h": 120.5
  },
  "luminance": 0.34027
}

Semantic roles & 50–950 ramp

primary
#8FA82C
secondary
#7F6EC2
accent
#46E265
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA82C

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

Preview Lab → · Contrast checker → · Palette generator →

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