#8FAF3F#8FAF3F

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

Color values

HEX#8FAF3F
RGBrgb(143, 175, 63)
HSLhsl(77, 47%, 47%)
HSVhsv(77, 64%, 69%)
CMYKcmyk(18.3%, 0%, 64%, 31.4%)
CIE-LABlab(67.17, -27.57, 52.08)
CIE-LCHlch(67.17, 58.93, 117.90°)
OKLaboklab(70.75% -0.0793 0.1191)
OKLCHoklch(70.75% 0.143 123.6)
XYZxyz(27.5551, 36.8583, 10.3643)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF3F #5F3FAF
analogous
#AF973F #8FAF3F #57AF3F
triadic
#8FAF3F #3F8FAF #AF3F8F
tetradic
#8FAF3F #3FAF97 #5F3FAF #AF3F57
square
#8FAF3F #3FAF97 #5F3FAF #AF3F57
split-complementary
#8FAF3F #3F57AF #973FAF
monochromatic
#45551F #6A822F #8FAF3F #ABC764 #C3D791

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FAF3F#FFFFFF#000000##000000
##8FAF3F1.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)
#B9A431
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#96A798
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf3f;
/* rgb */ color: rgb(143, 175, 63);
/* oklch */ color: oklch(70.8% 0.143 123.6);
Tailwind
colors: {
  custom: {
    50: '#b2c779',
    500: '#8faf3f',
    950: '#000000',
  },
}
SCSS
$custom: #8faf3f;
$custom-light: #b2c779;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf3f",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 77.143,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70754,
    "c": 0.1431,
    "h": 123.6
  },
  "luminance": 0.36858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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