#8FA158#8FA158

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

Color values

HEX#8FA158
RGBrgb(143, 161, 88)
HSLhsl(75, 29%, 49%)
HSVhsv(75, 45%, 63%)
CMYKcmyk(11.2%, 0%, 45.3%, 36.9%)
CIE-LABlab(63.37, -18.23, 35.77)
CIE-LCHlch(63.37, 40.15, 117.01°)
OKLaboklab(67.79% -0.0508 0.0863)
OKLCHoklch(67.79% 0.1 120.5)
XYZxyz(25.8341, 32.0340, 14.0528)
Luminance0.3203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA158 #6A58A1
analogous
#A18F58 #8FA158 #6BA158
triadic
#8FA158 #588FA1 #A1588F
tetradic
#8FA158 #58A18F #6A58A1 #A1586B
square
#8FA158 #58A18F #6A58A1 #A1586B
split-complementary
#8FA158 #586BA1 #8F58A1
monochromatic
#49522D #6C7942 #8FA158 #AAB87E #C4CEA5

Accessibility & contrast

On white

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

On black

7.41
#8FA158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA158
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA158#FFFFFF#000000##000000
##8FA1581.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A52
Deuteranopia (green-blind)
#A79A5C
Tritanopia (blue-blind)
#959A90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa158;
/* rgb */ color: rgb(143, 161, 88);
/* oklch */ color: oklch(67.8% 0.100 120.5);
Tailwind
colors: {
  custom: {
    50: '#b1bc88',
    500: '#8fa158',
    950: '#000000',
  },
}
SCSS
$custom: #8fa158;
$custom-light: #b1bc88;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa158",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 74.795,
    "s": 29.317,
    "l": 48.824
  },
  "oklch": {
    "l": 0.67787,
    "c": 0.10015,
    "h": 120.5
  },
  "luminance": 0.32034
}

Semantic roles & 50–950 ramp

primary
#8FA158
secondary
#A299BC
accent
#62C67B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA158

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

Preview Lab → · Contrast checker → · Palette generator →

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