#8FA781#8FA781

#8FA781 is a light, moderate yellow-green. Relative luminance 0.351; OKLCH L 70.0% C 0.060 H 134.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8FA781
RGBrgb(143, 167, 129)
HSLhsl(98, 18%, 58%)
HSVhsv(98, 23%, 65%)
CMYKcmyk(14.4%, 0%, 22.8%, 34.5%)
CIE-LABlab(65.80, -15.55, 16.95)
CIE-LCHlch(65.80, 23.00, 132.53°)
OKLaboklab(69.96% -0.0419 0.0433)
OKLCHoklch(69.96% 0.06 134.1)
XYZxyz(29.1081, 35.0617, 25.9987)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA781 #9981A7
analogous
#A2A781 #8FA781 #81A786
triadic
#8FA781 #818FA7 #A7818F
tetradic
#8FA781 #81A2A7 #9981A7 #A78681
square
#8FA781 #81A2A7 #9981A7 #A78681
split-complementary
#8FA781 #8681A7 #A781A2
monochromatic
#536647 #708A61 #8FA781 #AFC0A5 #CFD9C9

Accessibility & contrast

On white

2.62
#8FA781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#8FA781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA781
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA781#FFFFFF#000000##000000
##8FA7811.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA17F
Deuteranopia (green-blind)
#A69F83
Tritanopia (blue-blind)
#8FA49D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8fa781;
/* rgb */ color: rgb(143, 167, 129);
/* oklch */ color: oklch(70.0% 0.060 134.1);
Tailwind
colors: {
  custom: {
    50: '#b0c1a5',
    500: '#8fa781',
    950: '#000000',
  },
}
SCSS
$custom: #8fa781;
$custom-light: #b0c1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa781",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 129
  },
  "hsl": {
    "h": 97.895,
    "s": 17.757,
    "l": 58.039
  },
  "oklch": {
    "l": 0.69957,
    "c": 0.06026,
    "h": 134.1
  },
  "luminance": 0.35062
}

Semantic roles & 50–950 ramp

primary
#8FA781
secondary
#C4BAC9
accent
#6DBA9E
background
#FAFBFA
surface
#F4F7F4
border
#CED0CE
text
#10120F
muted
#7F817F

Preview Lab

Preview with #8FA781

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

Preview Lab → · Contrast checker → · Palette generator →

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