#8FB242#8FB242

#8FB242 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.5% C 0.145 H 124.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8FB242
RGBrgb(143, 178, 66)
HSLhsl(79, 46%, 48%)
HSVhsv(79, 63%, 70%)
CMYKcmyk(19.7%, 0%, 62.9%, 30.2%)
CIE-LABlab(68.07, -28.78, 51.77)
CIE-LCHlch(68.07, 59.23, 119.08°)
OKLaboklab(71.49% -0.0824 0.1189)
OKLCHoklch(71.49% 0.145 124.7)
XYZxyz(28.2316, 38.0735, 11.0148)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB242 #6542B2
analogous
#B29D42 #8FB242 #57B242
triadic
#8FB242 #428FB2 #B2428F
tetradic
#8FB242 #42B29D #6542B2 #B24257
square
#8FB242 #42B29D #6542B2 #B24257
split-complementary
#8FB242 #4257B2 #9D42B2
monochromatic
#475921 #6B8531 #8FB242 #AAC86A #C4D896

Accessibility & contrast

On white

2.44
#8FB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#8FB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB242
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB242#FFFFFF#000000##000000
##8FB2421.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA734
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#95AA9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fb242;
/* rgb */ color: rgb(143, 178, 66);
/* oklch */ color: oklch(71.5% 0.145 124.7);
Tailwind
colors: {
  custom: {
    50: '#b2c97b',
    500: '#8fb242',
    950: '#000000',
  },
}
SCSS
$custom: #8fb242;
$custom-light: #b2c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb242",
  "rgb": {
    "r": 143,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 78.75,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71493,
    "c": 0.14461,
    "h": 124.7
  },
  "luminance": 0.38074
}

Semantic roles & 50–950 ramp

primary
#8FB242
secondary
#9D8CC4
accent
#52D67B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FB242

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

Preview Lab → · Contrast checker → · Palette generator →

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