#8FB31C#8FB31C

#8FB31C is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.5% C 0.168 H 123.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8FB31C
RGBrgb(143, 179, 28)
HSLhsl(74, 73%, 41%)
HSVhsv(74, 84%, 70%)
CMYKcmyk(20.1%, 0%, 84.4%, 29.8%)
CIE-LABlab(68.14, -31.34, 64.92)
CIE-LCHlch(68.14, 72.09, 115.77°)
OKLaboklab(71.47% -0.0924 0.1407)
OKLCHoklch(71.47% 0.168 123.3)
XYZxyz(27.6578, 38.1635, 7.0076)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB31C #401CB3
analogous
#B38C1C #8FB31C #43B31C
triadic
#8FB31C #1C8FB3 #B31C8F
tetradic
#8FB31C #1CB38C #401CB3 #B31C43
square
#8FB31C #1CB38C #401CB3 #B31C43
split-complementary
#8FB31C #1C43B3 #8C1CB3
monochromatic
#3A490B #657E14 #8FB31C #B4DE2E #C7E763

Accessibility & contrast

On white

2.43
#8FB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#8FB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB31C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB31C#FFFFFF#000000##000000
##8FB31C1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#B9A62E
Tritanopia (blue-blind)
#97AA99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fb31c;
/* rgb */ color: rgb(143, 179, 28);
/* oklch */ color: oklch(71.5% 0.168 123.3);
Tailwind
colors: {
  custom: {
    50: '#b4c969',
    500: '#8fb31c',
    950: '#000000',
  },
}
SCSS
$custom: #8fb31c;
$custom-light: #b4c969;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb31c",
  "rgb": {
    "r": 143,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 74.305,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71473,
    "c": 0.16837,
    "h": 123.3
  },
  "luminance": 0.38164
}

Semantic roles & 50–950 ramp

primary
#8FB31C
secondary
#795FCB
accent
#38F064
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #8FB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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