#8FA828#8FA828

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

Color values

HEX#8FA828
RGBrgb(143, 168, 40)
HSLhsl(72, 62%, 41%)
HSVhsv(72, 76%, 66%)
CMYKcmyk(14.9%, 0%, 76.2%, 34.1%)
CIE-LABlab(64.96, -25.59, 58.66)
CIE-LCHlch(64.96, 64.00, 113.57°)
OKLaboklab(68.92% -0.0759 0.1294)
OKLCHoklch(68.92% 0.15 120.4)
XYZxyz(25.7138, 33.9982, 7.2147)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA828 #4128A8
analogous
#A88128 #8FA828 #4FA828
triadic
#8FA828 #288FA8 #A8288F
tetradic
#8FA828 #28A881 #4128A8 #A8284F
square
#8FA828 #28A881 #4128A8 #A8284F
split-complementary
#8FA828 #284FA8 #8128A8
monochromatic
#3B4510 #65771C #8FA828 #B4D13D #C7DC6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA828#FFFFFF#000000##000000
##8FA8281.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)
#B39E08
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#979F90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa828;
/* rgb */ color: rgb(143, 168, 40);
/* oklch */ color: oklch(68.9% 0.150 120.4);
Tailwind
colors: {
  custom: {
    50: '#b3c16c',
    500: '#8fa828',
    950: '#000000',
  },
}
SCSS
$custom: #8fa828;
$custom-light: #b3c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa828",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 71.719,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68921,
    "c": 0.15001,
    "h": 120.4
  },
  "luminance": 0.33998
}

Semantic roles & 50–950 ramp

primary
#8FA828
secondary
#7A69C3
accent
#43E563
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA828

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

Preview Lab → · Contrast checker → · Palette generator →

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