#8FA540#8FA540

#8FA540 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.4% C 0.129 H 120.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8FA540
RGBrgb(143, 165, 64)
HSLhsl(73, 44%, 45%)
HSVhsv(73, 61%, 65%)
CMYKcmyk(13.3%, 0%, 61.2%, 35.3%)
CIE-LABlab(64.26, -22.58, 48.48)
CIE-LCHlch(64.26, 53.48, 114.98°)
OKLaboklab(68.41% -0.0653 0.1117)
OKLCHoklch(68.41% 0.129 120.3)
XYZxyz(25.7086, 33.1201, 9.8880)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA540 #5640A5
analogous
#A58840 #8FA540 #5DA540
triadic
#8FA540 #408FA5 #A5408F
tetradic
#8FA540 #40A588 #5640A5 #A5405D
square
#8FA540 #40A588 #5640A5 #A5405D
split-complementary
#8FA540 #405DA5 #8840A5
monochromatic
#434D1E #69792F #8FA540 #ACC261 #C3D38D

Accessibility & contrast

On white

2.75
#8FA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#8FA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA540
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA540#FFFFFF#000000##000000
##8FA5401.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#AC9C47
Tritanopia (blue-blind)
#969D90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa540;
/* rgb */ color: rgb(143, 165, 64);
/* oklch */ color: oklch(68.4% 0.129 120.3);
Tailwind
colors: {
  custom: {
    50: '#b2bf79',
    500: '#8fa540',
    950: '#000000',
  },
}
SCSS
$custom: #8fa540;
$custom-light: #b2bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa540",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 73.069,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.12934,
    "h": 120.3
  },
  "luminance": 0.3312
}

Semantic roles & 50–950 ramp

primary
#8FA540
secondary
#9083BE
accent
#54D470
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA540

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

Preview Lab → · Contrast checker → · Palette generator →

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