#8FA157#8FA157

#8FA157 is a light, moderate yellow-green. Relative luminance 0.320; OKLCH L 67.8% C 0.101 H 120.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8FA157
RGBrgb(143, 161, 87)
HSLhsl(75, 30%, 49%)
HSVhsv(75, 46%, 63%)
CMYKcmyk(11.2%, 0%, 46%, 36.9%)
CIE-LABlab(63.36, -18.35, 36.27)
CIE-LCHlch(63.36, 40.65, 116.83°)
OKLaboklab(67.77% -0.0512 0.0874)
OKLCHoklch(67.77% 0.101 120.4)
XYZxyz(25.7930, 32.0176, 13.8362)
Luminance0.3202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA157 #6957A1
analogous
#A18E57 #8FA157 #6AA157
triadic
#8FA157 #578FA1 #A1578F
tetradic
#8FA157 #57A18E #6957A1 #A1576A
square
#8FA157 #57A18E #6957A1 #A1576A
split-complementary
#8FA157 #576AA1 #8E57A1
monochromatic
#48522C #6C7942 #8FA157 #AAB97D #C4CEA4

Accessibility & contrast

On white

2.84
#8FA157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#8FA157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA157
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA157#FFFFFF#000000##000000
##8FA1571.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A51
Deuteranopia (green-blind)
#A79A5B
Tritanopia (blue-blind)
#959A8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa157;
/* rgb */ color: rgb(143, 161, 87);
/* oklch */ color: oklch(67.8% 0.101 120.4);
Tailwind
colors: {
  custom: {
    50: '#b1bc88',
    500: '#8fa157',
    950: '#000000',
  },
}
SCSS
$custom: #8fa157;
$custom-light: #b1bc88;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa157",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 74.595,
    "s": 29.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.10126,
    "h": 120.4
  },
  "luminance": 0.32017
}

Semantic roles & 50–950 ramp

primary
#8FA157
secondary
#A198BC
accent
#62C67A
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA157

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

Preview Lab → · Contrast checker → · Palette generator →

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