#8FB126#8FB126

#8FB126 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.0% C 0.162 H 123.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8FB126
RGBrgb(143, 177, 38)
HSLhsl(75, 65%, 42%)
HSVhsv(75, 79%, 69%)
CMYKcmyk(19.2%, 0%, 78.5%, 30.6%)
CIE-LABlab(67.59, -30.02, 61.73)
CIE-LCHlch(67.59, 68.64, 115.93°)
OKLaboklab(71.04% -0.0882 0.1356)
OKLCHoklch(71.04% 0.162 123)
XYZxyz(27.4001, 37.4237, 7.6133)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB126 #4826B1
analogous
#B18D26 #8FB126 #4AB126
triadic
#8FB126 #268FB1 #B1268F
tetradic
#8FB126 #26B18D #4826B1 #B1264A
square
#8FB126 #26B18D #4826B1 #B1264A
split-complementary
#8FB126 #264AB1 #8D26B1
monochromatic
#3E4C10 #667F1B #8FB126 #B1D63F #C5E071

Accessibility & contrast

On white

2.48
#8FB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#8FB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB126
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB126#FFFFFF#000000##000000
##8FB1261.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#97A897
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fb126;
/* rgb */ color: rgb(143, 177, 38);
/* oklch */ color: oklch(71.0% 0.162 123.0);
Tailwind
colors: {
  custom: {
    50: '#b4c86d',
    500: '#8fb126',
    950: '#000000',
  },
}
SCSS
$custom: #8fb126;
$custom-light: #b4c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb126",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 74.676,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71044,
    "c": 0.16171,
    "h": 123
  },
  "luminance": 0.37424
}

Semantic roles & 50–950 ramp

primary
#8FB126
secondary
#826BC7
accent
#40E869
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB126

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

Preview Lab → · Contrast checker → · Palette generator →

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