#8FA427#8FA427

#8FA427 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 68.0% C 0.146 H 119.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8FA427
RGBrgb(143, 164, 39)
HSLhsl(70, 62%, 40%)
HSVhsv(70, 76%, 64%)
CMYKcmyk(12.8%, 0%, 76.2%, 35.7%)
CIE-LABlab(63.78, -23.67, 57.88)
CIE-LCHlch(63.78, 62.54, 112.24°)
OKLaboklab(67.97% -0.0707 0.1276)
OKLCHoklch(67.97% 0.146 119)
XYZxyz(24.9699, 32.5372, 6.8839)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA427 #3C27A4
analogous
#A47B27 #8FA427 #51A427
triadic
#8FA427 #278FA4 #A4278F
tetradic
#8FA427 #27A47B #3C27A4 #A42751
square
#8FA427 #27A47B #3C27A4 #A42751
split-complementary
#8FA427 #2751A4 #7B27A4
monochromatic
#39410F #64731B #8FA427 #B6D038 #C8DC6A

Accessibility & contrast

On white

2.80
#8FA427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#8FA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA427
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA427#FFFFFF#000000##000000
##8FA4271.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A08
Deuteranopia (green-blind)
#AD9B32
Tritanopia (blue-blind)
#989B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa427;
/* rgb */ color: rgb(143, 164, 39);
/* oklch */ color: oklch(68.0% 0.146 119.0);
Tailwind
colors: {
  custom: {
    50: '#b3bf6b',
    500: '#8fa427',
    950: '#000000',
  },
}
SCSS
$custom: #8fa427;
$custom-light: #b3bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa427",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 70.08,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67971,
    "c": 0.14587,
    "h": 119
  },
  "luminance": 0.32537
}

Semantic roles & 50–950 ramp

primary
#8FA427
secondary
#7565C2
accent
#43E55E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA427

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

Preview Lab → · Contrast checker → · Palette generator →

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