#8FA962#8FA962

#8FA962 is a light, moderate yellow-green. Relative luminance 0.351; OKLCH L 69.8% C 0.101 H 125.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8FA962
RGBrgb(143, 169, 98)
HSLhsl(82, 29%, 52%)
HSVhsv(82, 42%, 66%)
CMYKcmyk(15.4%, 0%, 42%, 33.7%)
CIE-LABlab(65.82, -21.11, 33.66)
CIE-LCHlch(65.82, 39.74, 122.09°)
OKLaboklab(69.8% -0.0582 0.0821)
OKLCHoklch(69.8% 0.101 125.3)
XYZxyz(27.7201, 35.0972, 16.8670)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA962 #7C62A9
analogous
#A9A062 #8FA962 #6CA962
triadic
#8FA962 #628FA9 #A9628F
tetradic
#8FA962 #62A9A0 #7C62A9 #A9626C
square
#8FA962 #62A9A0 #7C62A9 #A9626C
split-complementary
#8FA962 #626CA9 #A062A9
monochromatic
#4E5D33 #6F8549 #8FA962 #ABBF8A #C7D4B1

Accessibility & contrast

On white

2.62
#8FA962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#8FA962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA962
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA962#FFFFFF#000000##000000
##8FA9621.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15D
Deuteranopia (green-blind)
#ACA066
Tritanopia (blue-blind)
#93A398
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8fa962;
/* rgb */ color: rgb(143, 169, 98);
/* oklch */ color: oklch(69.8% 0.101 125.3);
Tailwind
colors: {
  custom: {
    50: '#b1c290',
    500: '#8fa962',
    950: '#000000',
  },
}
SCSS
$custom: #8fa962;
$custom-light: #b1c290;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa962",
  "rgb": {
    "r": 143,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 81.972,
    "s": 29.218,
    "l": 52.353
  },
  "oklch": {
    "l": 0.698,
    "c": 0.10064,
    "h": 125.3
  },
  "luminance": 0.35097
}

Semantic roles & 50–950 ramp

primary
#8FA962
secondary
#AFA4C3
accent
#62C587
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #8FA962

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

Preview Lab → · Contrast checker → · Palette generator →

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