#8FA751#8FA751

#8FA751 is a light, moderate yellow-green. Relative luminance 0.341; OKLCH L 69.1% C 0.116 H 122.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8FA751
RGBrgb(143, 167, 81)
HSLhsl(77, 35%, 49%)
HSVhsv(77, 51%, 65%)
CMYKcmyk(14.4%, 0%, 51.5%, 34.5%)
CIE-LABlab(65.02, -22.04, 41.32)
CIE-LCHlch(65.02, 46.83, 118.07°)
OKLaboklab(69.08% -0.0621 0.098)
OKLCHoklch(69.08% 0.116 122.4)
XYZxyz(26.6317, 34.0711, 12.9563)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA751 #6951A7
analogous
#A79451 #8FA751 #64A751
triadic
#8FA751 #518FA7 #A7518F
tetradic
#8FA751 #51A794 #6951A7 #A75164
square
#8FA751 #51A794 #6951A7 #A75164
split-complementary
#8FA751 #5164A7 #9451A7
monochromatic
#485529 #6C7E3D #8FA751 #AABD78 #C4D1A1

Accessibility & contrast

On white

2.69
#8FA751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#8FA751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA751
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA751#FFFFFF#000000##000000
##8FA7511.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E49
Deuteranopia (green-blind)
#AC9E56
Tritanopia (blue-blind)
#95A093
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa751;
/* rgb */ color: rgb(143, 167, 81);
/* oklch */ color: oklch(69.1% 0.116 122.4);
Tailwind
colors: {
  custom: {
    50: '#b1c184',
    500: '#8fa751',
    950: '#000000',
  },
}
SCSS
$custom: #8fa751;
$custom-light: #b1c184;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa751",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 76.744,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.11606,
    "h": 122.4
  },
  "luminance": 0.34071
}

Semantic roles & 50–950 ramp

primary
#8FA751
secondary
#A195BF
accent
#5DCB7C
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA751

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

Preview Lab → · Contrast checker → · Palette generator →

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