#8FB231#8FB231

#8FB231 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.4% C 0.157 H 123.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8FB231
RGBrgb(143, 178, 49)
HSLhsl(76, 57%, 45%)
HSVhsv(76, 72%, 70%)
CMYKcmyk(19.7%, 0%, 72.5%, 30.2%)
CIE-LABlab(67.95, -29.94, 58.41)
CIE-LCHlch(67.95, 65.64, 117.14°)
OKLaboklab(71.35% -0.0871 0.1304)
OKLCHoklch(71.35% 0.157 123.7)
XYZxyz(27.8028, 37.9020, 8.7562)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB231 #5431B2
analogous
#B29531 #8FB231 #4FB231
triadic
#8FB231 #318FB2 #B2318F
tetradic
#8FB231 #31B295 #5431B2 #B2314F
square
#8FB231 #31B295 #5431B2 #B2314F
split-complementary
#8FB231 #314FB2 #9531B2
monochromatic
#425217 #688224 #8FB231 #ADCF51 #C4DC81

Accessibility & contrast

On white

2.45
#8FB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8FB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB231
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB231#FFFFFF#000000##000000
##8FB2311.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA719
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#96A999
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fb231;
/* rgb */ color: rgb(143, 178, 49);
/* oklch */ color: oklch(71.4% 0.157 123.7);
Tailwind
colors: {
  custom: {
    50: '#b3c972',
    500: '#8fb231',
    950: '#000000',
  },
}
SCSS
$custom: #8fb231;
$custom-light: #b3c972;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb231",
  "rgb": {
    "r": 143,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 76.279,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.15678,
    "h": 123.7
  },
  "luminance": 0.37902
}

Semantic roles & 50–950 ramp

primary
#8FB231
secondary
#8E79C5
accent
#48E071
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8FB231

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

Preview Lab → · Contrast checker → · Palette generator →

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