#8FA240#8FA240

#8FA240 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.7% C 0.125 H 119.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8FA240
RGBrgb(143, 162, 64)
HSLhsl(72, 43%, 44%)
HSVhsv(72, 60%, 64%)
CMYKcmyk(11.7%, 0%, 60.5%, 36.5%)
CIE-LABlab(63.38, -21.08, 47.52)
CIE-LCHlch(63.38, 51.98, 113.92°)
OKLaboklab(67.71% -0.0611 0.1096)
OKLCHoklch(67.71% 0.125 119.1)
XYZxyz(25.1738, 32.0506, 9.7097)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA240 #5340A2
analogous
#A28440 #8FA240 #5EA240
triadic
#8FA240 #408FA2 #A2408F
tetradic
#8FA240 #40A284 #5340A2 #A2405E
square
#8FA240 #40A284 #5340A2 #A2405E
split-complementary
#8FA240 #405EA2 #8440A2
monochromatic
#424A1D #68762F #8FA240 #ADC05F #C4D18B

Accessibility & contrast

On white

2.83
#8FA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#8FA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA240
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA240#FFFFFF#000000##000000
##8FA2401.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9935
Deuteranopia (green-blind)
#AA9A46
Tritanopia (blue-blind)
#979A8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa240;
/* rgb */ color: rgb(143, 162, 64);
/* oklch */ color: oklch(67.7% 0.125 119.1);
Tailwind
colors: {
  custom: {
    50: '#b2bd79',
    500: '#8fa240',
    950: '#000000',
  },
}
SCSS
$custom: #8fa240;
$custom-light: #b2bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa240",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 71.633,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67709,
    "c": 0.12548,
    "h": 119.1
  },
  "luminance": 0.3205
}

Semantic roles & 50–950 ramp

primary
#8FA240
secondary
#8D82BC
accent
#55D36D
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA240

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

Preview Lab → · Contrast checker → · Palette generator →

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