#8FAF20#8FAF20

#8FAF20 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.5% C 0.162 H 122.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8FAF20
RGBrgb(143, 175, 32)
HSLhsl(73, 69%, 41%)
HSVhsv(73, 82%, 69%)
CMYKcmyk(18.3%, 0%, 81.7%, 31.4%)
CIE-LABlab(66.98, -29.31, 62.90)
CIE-LCHlch(66.98, 69.39, 114.99°)
OKLaboklab(70.54% -0.0867 0.137)
OKLCHoklch(70.54% 0.162 122.3)
XYZxyz(26.9188, 36.6038, 7.0133)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF20 #4020AF
analogous
#AF8820 #8FAF20 #47AF20
triadic
#8FAF20 #208FAF #AF208F
tetradic
#8FAF20 #20AF88 #4020AF #AF2047
square
#8FAF20 #20AF88 #4020AF #AF2047
split-complementary
#8FAF20 #2047AF #8820AF
monochromatic
#3A480D #657B17 #8FAF20 #B4DA33 #C7E366

Accessibility & contrast

On white

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

On black

8.32
#8FAF20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF20
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF20#FFFFFF#000000##000000
##8FAF201.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#97A695
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf20;
/* rgb */ color: rgb(143, 175, 32);
/* oklch */ color: oklch(70.5% 0.162 122.3);
Tailwind
colors: {
  custom: {
    50: '#b4c76a',
    500: '#8faf20',
    950: '#000000',
  },
}
SCSS
$custom: #8faf20;
$custom-light: #b4c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf20",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 32
  },
  "hsl": {
    "h": 73.427,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70538,
    "c": 0.16214,
    "h": 122.3
  },
  "luminance": 0.36604
}

Semantic roles & 50–950 ramp

primary
#8FAF20
secondary
#7962C8
accent
#3CEC63
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FAF20

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

Preview Lab → · Contrast checker → · Palette generator →

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