#8FA731#8FA731

#8FA731 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.7% C 0.143 H 120.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8FA731
RGBrgb(143, 167, 49)
HSLhsl(72, 55%, 42%)
HSVhsv(72, 71%, 65%)
CMYKcmyk(14.4%, 0%, 70.7%, 34.5%)
CIE-LABlab(64.72, -24.62, 55.22)
CIE-LCHlch(64.72, 60.46, 114.03°)
OKLaboklab(68.75% -0.0724 0.1237)
OKLCHoklch(68.75% 0.143 120.3)
XYZxyz(25.7012, 33.6989, 8.0557)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA731 #4931A7
analogous
#A78431 #8FA731 #54A731
triadic
#8FA731 #318FA7 #A7318F
tetradic
#8FA731 #31A784 #4931A7 #A73154
square
#8FA731 #31A784 #4931A7 #A73154
split-complementary
#8FA731 #3154A7 #8431A7
monochromatic
#3E4815 #667823 #8FA731 #B0CA4B #C5D87A

Accessibility & contrast

On white

2.71
#8FA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#8FA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA731
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA731#FFFFFF#000000##000000
##8FA7311.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#AF9D3B
Tritanopia (blue-blind)
#979E90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa731;
/* rgb */ color: rgb(143, 167, 49);
/* oklch */ color: oklch(68.7% 0.143 120.3);
Tailwind
colors: {
  custom: {
    50: '#b3c171',
    500: '#8fa731',
    950: '#000000',
  },
}
SCSS
$custom: #8fa731;
$custom-light: #b3c171;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa731",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 72.203,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68747,
    "c": 0.14331,
    "h": 120.3
  },
  "luminance": 0.33699
}

Semantic roles & 50–950 ramp

primary
#8FA731
secondary
#8373C1
accent
#4ADE68
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA731

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

Preview Lab → · Contrast checker → · Palette generator →

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