#8FB138#8FB138

#8FB138 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.2% C 0.151 H 123.8°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8FB138
RGBrgb(143, 177, 56)
HSLhsl(77, 52%, 46%)
HSVhsv(77, 68%, 69%)
CMYKcmyk(19.2%, 0%, 68.4%, 30.6%)
CIE-LABlab(67.70, -29.03, 55.52)
CIE-LCHlch(67.70, 62.65, 117.60°)
OKLaboklab(71.17% -0.0839 0.1254)
OKLCHoklch(71.17% 0.151 123.8)
XYZxyz(27.7639, 37.5692, 9.5295)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB138 #5A38B1
analogous
#B19638 #8FB138 #52B138
triadic
#8FB138 #388FB1 #B1388F
tetradic
#8FB138 #38B196 #5A38B1 #B13852
square
#8FB138 #38B196 #5A38B1 #B13852
split-complementary
#8FB138 #3852B1 #9638B1
monochromatic
#44541B #698329 #8FB138 #ACCB5B #C3DA8A

Accessibility & contrast

On white

2.47
#8FB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#8FB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB138
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB138#FFFFFF#000000##000000
##8FB1381.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B6A542
Tritanopia (blue-blind)
#96A899
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fb138;
/* rgb */ color: rgb(143, 177, 56);
/* oklch */ color: oklch(71.2% 0.151 123.8);
Tailwind
colors: {
  custom: {
    50: '#b3c875',
    500: '#8fb138',
    950: '#000000',
  },
}
SCSS
$custom: #8fb138;
$custom-light: #b3c875;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb138",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 76.86,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71166,
    "c": 0.1509,
    "h": 123.8
  },
  "luminance": 0.37569
}

Semantic roles & 50–950 ramp

primary
#8FB138
secondary
#9481C4
accent
#4CDB75
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FB138

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

Preview Lab → · Contrast checker → · Palette generator →

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