#8FA728#8FA728

#8FA728 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.7% C 0.149 H 120.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8FA728
RGBrgb(143, 167, 40)
HSLhsl(71, 61%, 41%)
HSVhsv(71, 76%, 65%)
CMYKcmyk(14.4%, 0%, 76%, 34.5%)
CIE-LABlab(64.67, -25.10, 58.38)
CIE-LCHlch(64.67, 63.55, 113.26°)
OKLaboklab(68.69% -0.0745 0.1288)
OKLCHoklch(68.69% 0.149 120.1)
XYZxyz(25.5299, 33.6304, 7.1534)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA728 #4028A7
analogous
#A78028 #8FA728 #4FA728
triadic
#8FA728 #288FA7 #A7288F
tetradic
#8FA728 #28A780 #4028A7 #A7284F
square
#8FA728 #28A780 #4028A7 #A7284F
split-complementary
#8FA728 #284FA7 #8028A7
monochromatic
#3A4410 #65761C #8FA728 #B4D03C #C7DC6D

Accessibility & contrast

On white

2.72
#8FA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8FA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA728
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA728#FFFFFF#000000##000000
##8FA7281.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D09
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#979E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa728;
/* rgb */ color: rgb(143, 167, 40);
/* oklch */ color: oklch(68.7% 0.149 120.1);
Tailwind
colors: {
  custom: {
    50: '#b3c16c',
    500: '#8fa728',
    950: '#000000',
  },
}
SCSS
$custom: #8fa728;
$custom-light: #b3c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa728",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 71.339,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68685,
    "c": 0.14883,
    "h": 120.1
  },
  "luminance": 0.3363
}

Semantic roles & 50–950 ramp

primary
#8FA728
secondary
#7968C3
accent
#43E462
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA728

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

Preview Lab → · Contrast checker → · Palette generator →

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