#8FA162#8FA162

#8FA162 is a light, moderate yellow-green. Relative luminance 0.322; OKLCH L 68.0% C 0.089 H 121.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8FA162
RGBrgb(143, 161, 98)
HSLhsl(77, 25%, 51%)
HSVhsv(77, 39%, 63%)
CMYKcmyk(11.2%, 0%, 39.1%, 36.9%)
CIE-LABlab(63.52, -17.02, 30.72)
CIE-LCHlch(63.52, 35.12, 118.99°)
OKLaboklab(67.95% -0.0467 0.0754)
OKLCHoklch(67.95% 0.089 121.8)
XYZxyz(26.2771, 32.2112, 16.3860)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA162 #7462A1
analogous
#A19362 #8FA162 #6FA162
triadic
#8FA162 #628FA1 #A1628F
tetradic
#8FA162 #62A193 #7462A1 #A1626F
square
#8FA162 #62A193 #7462A1 #A1626F
split-complementary
#8FA162 #626FA1 #9362A1
monochromatic
#4C5533 #6E7C4A #8FA162 #AAB888 #C6CFAF

Accessibility & contrast

On white

2.82
#8FA162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8FA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA162
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA162#FFFFFF#000000##000000
##8FA1621.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89A5D
Deuteranopia (green-blind)
#A69A65
Tritanopia (blue-blind)
#949B91
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa162;
/* rgb */ color: rgb(143, 161, 98);
/* oklch */ color: oklch(68.0% 0.089 121.8);
Tailwind
colors: {
  custom: {
    50: '#b0bc8f',
    500: '#8fa162',
    950: '#000000',
  },
}
SCSS
$custom: #8fa162;
$custom-light: #b0bc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa162",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 77.143,
    "s": 25.1,
    "l": 50.784
  },
  "oklch": {
    "l": 0.67952,
    "c": 0.08866,
    "h": 121.8
  },
  "luminance": 0.32211
}

Semantic roles & 50–950 ramp

primary
#8FA162
secondary
#A9A1BD
accent
#66C280
background
#FAFBF8
surface
#F5F6F0
border
#CFD0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #8FA162

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

Preview Lab → · Contrast checker → · Palette generator →

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