#8FA837#8FA837

#8FA837 is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 69.0% C 0.140 H 120.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8FA837
RGBrgb(143, 168, 55)
HSLhsl(73, 51%, 44%)
HSVhsv(73, 67%, 66%)
CMYKcmyk(14.9%, 0%, 67.3%, 34.1%)
CIE-LABlab(65.06, -24.73, 53.19)
CIE-LCHlch(65.06, 58.66, 114.94°)
OKLaboklab(69.03% -0.0722 0.1204)
OKLCHoklch(69.03% 0.14 120.9)
XYZxyz(26.0203, 34.1208, 8.8289)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA837 #5037A8
analogous
#A88837 #8FA837 #56A837
triadic
#8FA837 #378FA8 #A8378F
tetradic
#8FA837 #37A888 #5037A8 #A83756
square
#8FA837 #37A888 #5037A8 #A83756
split-complementary
#8FA837 #3756A8 #8837A8
monochromatic
#414C19 #687A28 #8FA837 #AEC755 #C4D683

Accessibility & contrast

On white

2.68
#8FA837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#8FA837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA837
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA837#FFFFFF#000000##000000
##8FA8371.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E27
Deuteranopia (green-blind)
#AF9E40
Tritanopia (blue-blind)
#979F91
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa837;
/* rgb */ color: rgb(143, 168, 55);
/* oklch */ color: oklch(69.0% 0.140 120.9);
Tailwind
colors: {
  custom: {
    50: '#b3c174',
    500: '#8fa837',
    950: '#000000',
  },
}
SCSS
$custom: #8fa837;
$custom-light: #b3c174;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa837",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 73.274,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69031,
    "c": 0.14033,
    "h": 120.9
  },
  "luminance": 0.34121
}

Semantic roles & 50–950 ramp

primary
#8FA837
secondary
#8A7BC0
accent
#4EDA6D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA837

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

Preview Lab → · Contrast checker → · Palette generator →

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