#8FA151#8FA151

#8FA151 is a light, moderate yellow-green. Relative luminance 0.319; OKLCH L 67.7% C 0.108 H 119.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8FA151
RGBrgb(143, 161, 81)
HSLhsl(74, 33%, 47%)
HSVhsv(74, 50%, 63%)
CMYKcmyk(11.2%, 0%, 49.7%, 36.9%)
CIE-LABlab(63.28, -19.00, 39.23)
CIE-LCHlch(63.28, 43.59, 115.84°)
OKLaboklab(67.68% -0.0536 0.0935)
OKLCHoklch(67.68% 0.108 119.8)
XYZxyz(25.5579, 31.9236, 12.5984)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA151 #6351A1
analogous
#A18B51 #8FA151 #67A151
triadic
#8FA151 #518FA1 #A1518F
tetradic
#8FA151 #51A18B #6351A1 #A15167
square
#8FA151 #51A18B #6351A1 #A15167
split-complementary
#8FA151 #5167A1 #8B51A1
monochromatic
#475028 #6B783D #8FA151 #AABA75 #C3CE9E

Accessibility & contrast

On white

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

On black

7.38
#8FA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA151
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA151#FFFFFF#000000##000000
##8FA1511.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA994A
Deuteranopia (green-blind)
#A79955
Tritanopia (blue-blind)
#969A8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa151;
/* rgb */ color: rgb(143, 161, 81);
/* oklch */ color: oklch(67.7% 0.108 119.8);
Tailwind
colors: {
  custom: {
    50: '#b1bc84',
    500: '#8fa151',
    950: '#000000',
  },
}
SCSS
$custom: #8fa151;
$custom-light: #b1bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa151",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 73.5,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67684,
    "c": 0.10773,
    "h": 119.8
  },
  "luminance": 0.31923
}

Semantic roles & 50–950 ramp

primary
#8FA151
secondary
#9C93BB
accent
#5FC977
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA151

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

Preview Lab → · Contrast checker → · Palette generator →

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