#8FA928#8FA928

#8FA928 is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 69.2% C 0.151 H 120.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8FA928
RGBrgb(143, 169, 40)
HSLhsl(72, 62%, 41%)
HSVhsv(72, 76%, 66%)
CMYKcmyk(15.4%, 0%, 76.3%, 33.7%)
CIE-LABlab(65.25, -26.08, 58.93)
CIE-LCHlch(65.25, 64.44, 113.87°)
OKLaboklab(69.16% -0.0772 0.13)
OKLCHoklch(69.16% 0.151 120.7)
XYZxyz(25.8991, 34.3688, 7.2765)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA928 #4228A9
analogous
#A98228 #8FA928 #4EA928
triadic
#8FA928 #288FA9 #A9288F
tetradic
#8FA928 #28A982 #4228A9 #A9284E
square
#8FA928 #28A982 #4228A9 #A9284E
split-complementary
#8FA928 #284EA9 #8228A9
monochromatic
#3B4611 #65781C #8FA928 #B3D13D #C7DD6F

Accessibility & contrast

On white

2.67
#8FA928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#8FA928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA928
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA928#FFFFFF#000000##000000
##8FA9281.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F07
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#97A091
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa928;
/* rgb */ color: rgb(143, 169, 40);
/* oklch */ color: oklch(69.2% 0.151 120.7);
Tailwind
colors: {
  custom: {
    50: '#b3c26c',
    500: '#8fa928',
    950: '#000000',
  },
}
SCSS
$custom: #8fa928;
$custom-light: #b3c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa928",
  "rgb": {
    "r": 143,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 72.093,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69158,
    "c": 0.15119,
    "h": 120.7
  },
  "luminance": 0.34369
}

Semantic roles & 50–950 ramp

primary
#8FA928
secondary
#7B69C4
accent
#43E564
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA928

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

Preview Lab → · Contrast checker → · Palette generator →

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