#8FA827#8FA827

#8FA827 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.9% C 0.151 H 120.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8FA827
RGBrgb(143, 168, 39)
HSLhsl(72, 62%, 41%)
HSVhsv(72, 77%, 66%)
CMYKcmyk(14.9%, 0%, 76.8%, 34.1%)
CIE-LABlab(64.96, -25.64, 58.98)
CIE-LCHlch(64.96, 64.31, 113.49°)
OKLaboklab(68.92% -0.0761 0.1299)
OKLCHoklch(68.92% 0.151 120.4)
XYZxyz(25.6970, 33.9915, 7.1263)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA827 #4027A8
analogous
#A88027 #8FA827 #4EA827
triadic
#8FA827 #278FA8 #A8278F
tetradic
#8FA827 #27A880 #4027A8 #A8274E
square
#8FA827 #27A880 #4027A8 #A8274E
split-complementary
#8FA827 #274EA8 #8027A8
monochromatic
#3A4510 #65761B #8FA827 #B4D13B #C7DD6C

Accessibility & contrast

On white

2.69
#8FA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#8FA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA827
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA827#FFFFFF#000000##000000
##8FA8271.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#979F90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa827;
/* rgb */ color: rgb(143, 168, 39);
/* oklch */ color: oklch(68.9% 0.151 120.4);
Tailwind
colors: {
  custom: {
    50: '#b3c16c',
    500: '#8fa827',
    950: '#000000',
  },
}
SCSS
$custom: #8fa827;
$custom-light: #b3c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa827",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 71.628,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68915,
    "c": 0.15056,
    "h": 120.4
  },
  "luminance": 0.33991
}

Semantic roles & 50–950 ramp

primary
#8FA827
secondary
#7967C3
accent
#42E562
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA827

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

Preview Lab → · Contrast checker → · Palette generator →

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