#8FAF3E#8FAF3E

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

Color values

HEX#8FAF3E
RGBrgb(143, 175, 62)
HSLhsl(77, 48%, 46%)
HSVhsv(77, 65%, 69%)
CMYKcmyk(18.3%, 0%, 64.6%, 31.4%)
CIE-LABlab(67.16, -27.65, 52.50)
CIE-LCHlch(67.16, 59.33, 117.77°)
OKLaboklab(70.75% -0.0796 0.1199)
OKLCHoklch(70.75% 0.144 123.6)
XYZxyz(27.5274, 36.8472, 10.2185)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF3E #5E3EAF
analogous
#AF973E #8FAF3E #57AF3E
triadic
#8FAF3E #3E8FAF #AF3E8F
tetradic
#8FAF3E #3EAF97 #5E3EAF #AF3E57
square
#8FAF3E #3EAF97 #5E3EAF #AF3E57
split-complementary
#8FAF3E #3E57AF #973EAF
monochromatic
#45551E #6A822E #8FAF3E #ABC863 #C3D890

Accessibility & contrast

On white

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

On black

8.37
#8FAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF3E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF3E#FFFFFF#000000##000000
##8FAF3E1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42F
Deuteranopia (green-blind)
#B4A346
Tritanopia (blue-blind)
#96A798
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf3e;
/* rgb */ color: rgb(143, 175, 62);
/* oklch */ color: oklch(70.7% 0.144 123.6);
Tailwind
colors: {
  custom: {
    50: '#b3c779',
    500: '#8faf3e',
    950: '#000000',
  },
}
SCSS
$custom: #8faf3e;
$custom-light: #b3c779;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf3e",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 76.991,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70745,
    "c": 0.1439,
    "h": 123.6
  },
  "luminance": 0.36847
}

Semantic roles & 50–950 ramp

primary
#8FAF3E
secondary
#9786C3
accent
#51D777
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8FAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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