#8FA848#8FA848

#8FA848 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 69.2% C 0.126 H 122.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8FA848
RGBrgb(143, 168, 72)
HSLhsl(76, 40%, 47%)
HSVhsv(76, 57%, 66%)
CMYKcmyk(14.9%, 0%, 57.1%, 34.1%)
CIE-LABlab(65.21, -23.40, 45.87)
CIE-LCHlch(65.21, 51.50, 117.03°)
OKLaboklab(69.2% -0.0668 0.107)
OKLCHoklch(69.2% 0.126 122)
XYZxyz(26.5002, 34.3128, 11.3566)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA848 #6148A8
analogous
#A89148 #8FA848 #5FA848
triadic
#8FA848 #488FA8 #A8488F
tetradic
#8FA848 #48A891 #6148A8 #A8485F
square
#8FA848 #48A891 #6148A8 #A8485F
split-complementary
#8FA848 #485FA8 #9148A8
monochromatic
#465223 #6B7D36 #8FA848 #ABC06D #C3D398

Accessibility & contrast

On white

2.67
#8FA848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#8FA848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA848
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA848#FFFFFF#000000##000000
##8FA8481.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3E
Deuteranopia (green-blind)
#AE9E4E
Tritanopia (blue-blind)
#96A093
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa848;
/* rgb */ color: rgb(143, 168, 72);
/* oklch */ color: oklch(69.2% 0.126 122.0);
Tailwind
colors: {
  custom: {
    50: '#b2c17e',
    500: '#8fa848',
    950: '#000000',
  },
}
SCSS
$custom: #8fa848;
$custom-light: #b2c17e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa848",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 72
  },
  "hsl": {
    "h": 75.625,
    "s": 40,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69202,
    "c": 0.12616,
    "h": 122
  },
  "luminance": 0.34313
}

Semantic roles & 50–950 ramp

primary
#8FA848
secondary
#9A8DBF
accent
#58D077
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8FA848

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

Preview Lab → · Contrast checker → · Palette generator →

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