#8FAF2F#8FAF2F

#8FAF2F is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.6% C 0.154 H 122.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8FAF2F
RGBrgb(143, 175, 47)
HSLhsl(75, 58%, 44%)
HSVhsv(75, 73%, 69%)
CMYKcmyk(18.3%, 0%, 73.1%, 31.4%)
CIE-LABlab(67.05, -28.62, 58.25)
CIE-LCHlch(67.05, 64.90, 116.16°)
OKLaboklab(70.62% -0.0836 0.1297)
OKLCHoklch(70.62% 0.154 122.8)
XYZxyz(27.1711, 36.7047, 8.3420)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF2F #4F2FAF
analogous
#AF8F2F #8FAF2F #4FAF2F
triadic
#8FAF2F #2F8FAF #AF2F8F
tetradic
#8FAF2F #2FAF8F #4F2FAF #AF2F4F
square
#8FAF2F #2FAF8F #4F2FAF #AF2F4F
split-complementary
#8FAF2F #2F4FAF #8F2FAF
monochromatic
#404F15 #687F22 #8FAF2F #AECF4C #C4DC7C

Accessibility & contrast

On white

2.52
#8FAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#8FAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF2F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF2F#FFFFFF#000000##000000
##8FAF2F1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A416
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#96A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf2f;
/* rgb */ color: rgb(143, 175, 47);
/* oklch */ color: oklch(70.6% 0.154 122.8);
Tailwind
colors: {
  custom: {
    50: '#b3c771',
    500: '#8faf2f',
    950: '#000000',
  },
}
SCSS
$custom: #8faf2f;
$custom-light: #b3c771;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf2f",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 75,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70624,
    "c": 0.15434,
    "h": 122.8
  },
  "luminance": 0.36705
}

Semantic roles & 50–950 ramp

primary
#8FAF2F
secondary
#8975C4
accent
#47E16D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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