Accessibility
Vs white / black
2.74:1 · 7.66:1
Sources
Codes
HEX
#8fa374
RGB
rgb(143, 163, 116)
RGBA
rgba(143, 163, 116, 1)
HSL
hsl(86, 20%, 55%)
HSLA
hsla(86, 20%, 55%, 1)
HSV
hsv(86, 29%, 64%)
LAB
lab(64.4% -15.54 22.17)
LCH
lch(64.4% 27.07 125.03)
OKLAB
oklab(0.6876 -0.0419 0.0558)
OKLCH
oklch(0.6876 0.0698 126.9)
XYZ
xyz(27.58, 33.29, 21.49)
CMYK
cmyk(12%, 0%, 29%, 36%)
CSS
color: #8fa374;
CSS variable
--color-8fa374: #8fa374;
SCSS
$color-8fa374: #8fa374;
JavaScript
const color = "#8fa374";
TypeScript
const color: string = "#8fa374";
React
style={{ backgroundColor: "#8fa374" }}
JSON
{ "hex": "#8fa374", "rgb": { "r": 143, "g": 163, "b": 116 }, "oklch": "oklch(0.6876 0.0698 126.9)" }
Export
:root {
--#8fa374-1: #8fa374;
}Design systems
An arbitrary HEX is not an official Tailwind, Material, or Bootstrap color. Distance is CIEDE2000.
Nearest Tailwind color
lime-600
Very different · ΔE 14.52 · #65A30D
Nearest CSS named color
DarkSeaGreen
Very different · ΔE 8.49 · #8FBC8F
Nearest Material color
light-green-700
Very different · ΔE 11.51 · #689F38
Nearest Bootstrap color
success
Very different · ΔE 18.66 · #198754
OKLCH
Generated in OKLCH from this hex. Not an official Tailwind scale unless the hex itself is a Tailwind token.
Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
#8FA374 (#8fa374) sits in the lime family at about 86° hue, 20% saturation, and 55% lightness. Contrast is 2.74:1 on white and 7.66:1 on black, so near-black labels read more clearly on the swatch itself. Nearest Tailwind token: lime-600 (approximation unless the hex is an official scale stop).
Sensible jobs for this swatch
Do not use #8fa374 as small body text on white — 2.74:1 misses WCAG AA (4.5:1). Pair it with a darker shade from the scale below, or check pairs in the contrast checker.
Family context: Energy, youth, and experimentation. High-visibility accents and playful UIs. Common uses still include buttons, charts, and accents in the Lime range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance