#8FB428#8FB428

#8FB428 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.8% C 0.164 H 123.9°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8FB428
RGBrgb(143, 180, 40)
HSLhsl(76, 64%, 43%)
HSVhsv(76, 78%, 71%)
CMYKcmyk(20.6%, 0%, 77.8%, 29.4%)
CIE-LABlab(68.49, -31.34, 61.94)
CIE-LCHlch(68.49, 69.42, 116.84°)
OKLaboklab(71.77% -0.0916 0.1363)
OKLCHoklch(71.77% 0.164 123.9)
XYZxyz(28.0323, 38.6351, 7.9876)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB428 #4D28B4
analogous
#B49328 #8FB428 #49B428
triadic
#8FB428 #288FB4 #B4288F
tetradic
#8FB428 #28B493 #4D28B4 #B42849
square
#8FB428 #28B493 #4D28B4 #B42849
split-complementary
#8FB428 #2849B4 #9328B4
monochromatic
#3F5012 #67821D #8FB428 #AFD544 #C4E176

Accessibility & contrast

On white

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

On black

8.73
#8FB428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB428
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB428#FFFFFF#000000##000000
##8FB4281.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fb428;
/* rgb */ color: rgb(143, 180, 40);
/* oklch */ color: oklch(71.8% 0.164 123.9);
Tailwind
colors: {
  custom: {
    50: '#b4ca6e',
    500: '#8fb428',
    950: '#000000',
  },
}
SCSS
$custom: #8fb428;
$custom-light: #b4ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb428",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 75.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71769,
    "c": 0.16428,
    "h": 123.9
  },
  "luminance": 0.38635
}

Semantic roles & 50–950 ramp

primary
#8FB428
secondary
#8770C8
accent
#41E76D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB428

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

Preview Lab → · Contrast checker → · Palette generator →

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