#8FA45F#8FA45F

#8FA45F is a light, moderate yellow-green. Relative luminance 0.332; OKLCH L 68.6% C 0.097 H 122.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8FA45F
RGBrgb(143, 164, 95)
HSLhsl(78, 27%, 51%)
HSVhsv(78, 42%, 64%)
CMYKcmyk(12.8%, 0%, 42.1%, 35.7%)
CIE-LABlab(64.34, -18.94, 33.34)
CIE-LCHlch(64.34, 38.35, 119.60°)
OKLaboklab(68.59% -0.0523 0.0812)
OKLCHoklch(68.59% 0.097 122.8)
XYZxyz(26.6687, 33.2167, 15.8308)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA45F #745FA4
analogous
#A4965F #8FA45F #6CA45F
triadic
#8FA45F #5F8FA4 #A45F8F
tetradic
#8FA45F #5FA496 #745FA4 #A45F6C
square
#8FA45F #5FA496 #745FA4 #A45F6C
split-complementary
#8FA45F #5F6CA4 #965FA4
monochromatic
#4C5732 #6E7E48 #8FA45F #AABA86 #C6D0AD

Accessibility & contrast

On white

2.75
#8FA45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8FA45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA45F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA45F#FFFFFF#000000##000000
##8FA45F1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C5A
Deuteranopia (green-blind)
#A99C63
Tritanopia (blue-blind)
#949E93
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa45f;
/* rgb */ color: rgb(143, 164, 95);
/* oklch */ color: oklch(68.6% 0.097 122.8);
Tailwind
colors: {
  custom: {
    50: '#b1bf8d',
    500: '#8fa45f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa45f;
$custom-light: #b1bf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa45f",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 78.261,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.09661,
    "h": 122.8
  },
  "luminance": 0.33217
}

Semantic roles & 50–950 ramp

primary
#8FA45F
secondary
#A9A0BF
accent
#64C481
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #8FA45F

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

Preview Lab → · Contrast checker → · Palette generator →

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