#8FB042#8FB042

#8FB042 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.0% C 0.142 H 124.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8FB042
RGBrgb(143, 176, 66)
HSLhsl(78, 45%, 47%)
HSVhsv(78, 63%, 69%)
CMYKcmyk(18.7%, 0%, 62.5%, 31%)
CIE-LABlab(67.49, -27.82, 51.13)
CIE-LCHlch(67.49, 58.21, 118.55°)
OKLaboklab(71.02% -0.0797 0.1175)
OKLCHoklch(71.02% 0.142 124.1)
XYZxyz(27.8366, 37.2834, 10.8831)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB042 #6342B0
analogous
#B09A42 #8FB042 #58B042
triadic
#8FB042 #428FB0 #B0428F
tetradic
#8FB042 #42B09A #6342B0 #B04258
square
#8FB042 #42B09A #6342B0 #B04258
split-complementary
#8FB042 #4258B0 #9A42B0
monochromatic
#475721 #6B8331 #8FB042 #AAC769 #C3D795

Accessibility & contrast

On white

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

On black

8.46
#8FB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB042
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB042#FFFFFF#000000##000000
##8FB0421.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A535
Deuteranopia (green-blind)
#B5A44A
Tritanopia (blue-blind)
#95A899
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8fb042;
/* rgb */ color: rgb(143, 176, 66);
/* oklch */ color: oklch(71.0% 0.142 124.1);
Tailwind
colors: {
  custom: {
    50: '#b2c77b',
    500: '#8fb042',
    950: '#000000',
  },
}
SCSS
$custom: #8fb042;
$custom-light: #b2c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb042",
  "rgb": {
    "r": 143,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 78,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7102,
    "c": 0.14199,
    "h": 124.1
  },
  "luminance": 0.37284
}

Semantic roles & 50–950 ramp

primary
#8FB042
secondary
#9C8BC3
accent
#53D57A
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FB042

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

Preview Lab → · Contrast checker → · Palette generator →

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