#8FA727#8FA727

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

Color values

HEX#8FA727
RGBrgb(143, 167, 39)
HSLhsl(71, 62%, 40%)
HSVhsv(71, 77%, 65%)
CMYKcmyk(14.4%, 0%, 76.6%, 34.5%)
CIE-LABlab(64.66, -25.15, 58.71)
CIE-LCHlch(64.66, 63.87, 113.19°)
OKLaboklab(68.68% -0.0747 0.1293)
OKLCHoklch(68.68% 0.149 120)
XYZxyz(25.5131, 33.6237, 7.0650)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA727 #3F27A7
analogous
#A77F27 #8FA727 #4FA727
triadic
#8FA727 #278FA7 #A7278F
tetradic
#8FA727 #27A77F #3F27A7 #A7274F
square
#8FA727 #27A77F #3F27A7 #A7274F
split-complementary
#8FA727 #274FA7 #7F27A7
monochromatic
#3A4410 #65751B #8FA727 #B5D13A #C7DD6C

Accessibility & contrast

On white

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

On black

7.72
#8FA727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA727
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA727#FFFFFF#000000##000000
##8FA7271.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa727;
/* rgb */ color: rgb(143, 167, 39);
/* oklch */ color: oklch(68.7% 0.149 120.0);
Tailwind
colors: {
  custom: {
    50: '#b3c16c',
    500: '#8fa727',
    950: '#000000',
  },
}
SCSS
$custom: #8fa727;
$custom-light: #b3c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa727",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 71.25,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68679,
    "c": 0.14939,
    "h": 120
  },
  "luminance": 0.33624
}

Semantic roles & 50–950 ramp

primary
#8FA727
secondary
#7867C3
accent
#43E561
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA727

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

Preview Lab → · Contrast checker → · Palette generator →

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