#8FB422#8FB422

#8FB422 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.7% C 0.167 H 123.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8FB422
RGBrgb(143, 180, 34)
HSLhsl(75, 68%, 42%)
HSVhsv(75, 81%, 71%)
CMYKcmyk(20.6%, 0%, 81.1%, 29.4%)
CIE-LABlab(68.46, -31.60, 63.67)
CIE-LCHlch(68.46, 71.08, 116.40°)
OKLaboklab(71.74% -0.0928 0.139)
OKLCHoklch(71.74% 0.167 123.7)
XYZxyz(27.9380, 38.5974, 7.4912)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB422 #4722B4
analogous
#B49022 #8FB422 #46B422
triadic
#8FB422 #228FB4 #B4228F
tetradic
#8FB422 #22B490 #4722B4 #B42246
square
#8FB422 #22B490 #4722B4 #B42246
split-complementary
#8FB422 #2246B4 #9022B4
monochromatic
#3D4D0F #668118 #8FB422 #B1DA3A #C5E36D

Accessibility & contrast

On white

2.41
#8FB422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#8FB422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB422
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB422#FFFFFF#000000##000000
##8FB4221.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#96AB9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb422;
/* rgb */ color: rgb(143, 180, 34);
/* oklch */ color: oklch(71.7% 0.167 123.7);
Tailwind
colors: {
  custom: {
    50: '#b4ca6b',
    500: '#8fb422',
    950: '#000000',
  },
}
SCSS
$custom: #8fb422;
$custom-light: #b4ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb422",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 75.205,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71738,
    "c": 0.16711,
    "h": 123.7
  },
  "luminance": 0.38598
}

Semantic roles & 50–950 ramp

primary
#8FB422
secondary
#8168CA
accent
#3DEB69
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB422

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

Preview Lab → · Contrast checker → · Palette generator →

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