#8FAF3A#8FAF3A

#8FAF3A is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.7% C 0.147 H 123.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8FAF3A
RGBrgb(143, 175, 58)
HSLhsl(76, 50%, 46%)
HSVhsv(76, 67%, 69%)
CMYKcmyk(18.3%, 0%, 66.9%, 31.4%)
CIE-LABlab(67.13, -27.93, 54.12)
CIE-LCHlch(67.13, 60.91, 117.30°)
OKLaboklab(70.71% -0.0807 0.1228)
OKLCHoklch(70.71% 0.147 123.3)
XYZxyz(27.4216, 36.8049, 9.6616)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF3A #5A3AAF
analogous
#AF943A #8FAF3A #54AF3A
triadic
#8FAF3A #3A8FAF #AF3A8F
tetradic
#8FAF3A #3AAF94 #5A3AAF #AF3A54
square
#8FAF3A #3AAF94 #5A3AAF #AF3A54
split-complementary
#8FAF3A #3A54AF #943AAF
monochromatic
#44531C #69812B #8FAF3A #ACC95D #C3D98B

Accessibility & contrast

On white

2.51
#8FAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#8FAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF3A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF3A#FFFFFF#000000##000000
##8FAF3A1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42A
Deuteranopia (green-blind)
#B5A343
Tritanopia (blue-blind)
#96A697
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf3a;
/* rgb */ color: rgb(143, 175, 58);
/* oklch */ color: oklch(70.7% 0.147 123.3);
Tailwind
colors: {
  custom: {
    50: '#b3c776',
    500: '#8faf3a',
    950: '#000000',
  },
}
SCSS
$custom: #8faf3a;
$custom-light: #b3c776;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf3a",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 76.41,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.14693,
    "h": 123.3
  },
  "luminance": 0.36805
}

Semantic roles & 50–950 ramp

primary
#8FAF3A
secondary
#9482C3
accent
#4EDA74
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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