#8FA927#8FA927

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

Color values

HEX#8FA927
RGBrgb(143, 169, 39)
HSLhsl(72, 63%, 41%)
HSVhsv(72, 77%, 66%)
CMYKcmyk(15.4%, 0%, 76.9%, 33.7%)
CIE-LABlab(65.25, -26.13, 59.25)
CIE-LCHlch(65.25, 64.76, 113.79°)
OKLaboklab(69.15% -0.0774 0.1305)
OKLCHoklch(69.15% 0.152 120.7)
XYZxyz(25.8823, 34.3621, 7.1881)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA927 #4127A9
analogous
#A98227 #8FA927 #4EA927
triadic
#8FA927 #278FA9 #A9278F
tetradic
#8FA927 #27A982 #4127A9 #A9274E
square
#8FA927 #27A982 #4127A9 #A9274E
split-complementary
#8FA927 #274EA9 #8227A9
monochromatic
#3B4610 #65771C #8FA927 #B4D23B #C7DD6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA927#FFFFFF#000000##000000
##8FA9271.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)
#B49F04
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#97A091
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa927;
/* rgb */ color: rgb(143, 169, 39);
/* oklch */ color: oklch(69.2% 0.152 120.7);
Tailwind
colors: {
  custom: {
    50: '#b3c26c',
    500: '#8fa927',
    950: '#000000',
  },
}
SCSS
$custom: #8fa927;
$custom-light: #b3c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa927",
  "rgb": {
    "r": 143,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 72,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69152,
    "c": 0.15174,
    "h": 120.7
  },
  "luminance": 0.34362
}

Semantic roles & 50–950 ramp

primary
#8FA927
secondary
#7A68C4
accent
#42E663
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA927

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

Preview Lab → · Contrast checker → · Palette generator →

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