#8FA45C#8FA45C

#8FA45C is a light, moderate yellow-green. Relative luminance 0.332; OKLCH L 68.5% C 0.100 H 122.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8FA45C
RGBrgb(143, 164, 92)
HSLhsl(78, 28%, 50%)
HSVhsv(78, 44%, 64%)
CMYKcmyk(12.8%, 0%, 43.9%, 35.7%)
CIE-LABlab(64.29, -19.30, 34.85)
CIE-LCHlch(64.29, 39.84, 118.98°)
OKLaboklab(68.54% -0.0535 0.0845)
OKLCHoklch(68.54% 0.1 122.4)
XYZxyz(26.5349, 33.1632, 15.1264)
Luminance0.3316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA45C #715CA4
analogous
#A4955C #8FA45C #6BA45C
triadic
#8FA45C #5C8FA4 #A45C8F
tetradic
#8FA45C #5CA495 #715CA4 #A45C6B
square
#8FA45C #5CA495 #715CA4 #A45C6B
split-complementary
#8FA45C #5C6BA4 #955CA4
monochromatic
#4B5630 #6D7D46 #8FA45C #AABA83 #C5D0AB

Accessibility & contrast

On white

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

On black

7.63
#8FA45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA45C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA45C#FFFFFF#000000##000000
##8FA45C1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa45c;
/* rgb */ color: rgb(143, 164, 92);
/* oklch */ color: oklch(68.5% 0.100 122.4);
Tailwind
colors: {
  custom: {
    50: '#b1bf8b',
    500: '#8fa45c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa45c;
$custom-light: #b1bf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa45c",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 77.5,
    "s": 28.346,
    "l": 50.196
  },
  "oklch": {
    "l": 0.68544,
    "c": 0.10001,
    "h": 122.4
  },
  "luminance": 0.33163
}

Semantic roles & 50–950 ramp

primary
#8FA45C
secondary
#A79EBE
accent
#63C580
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #8FA45C

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

Preview Lab → · Contrast checker → · Palette generator →

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