#8FB338#8FB338

#8FB338 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.6% C 0.153 H 124.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8FB338
RGBrgb(143, 179, 56)
HSLhsl(78, 52%, 46%)
HSVhsv(78, 69%, 70%)
CMYKcmyk(20.1%, 0%, 68.7%, 29.8%)
CIE-LABlab(68.29, -29.98, 56.12)
CIE-LCHlch(68.29, 63.62, 118.11°)
OKLaboklab(71.64% -0.0866 0.1267)
OKLCHoklch(71.64% 0.153 124.4)
XYZxyz(28.1618, 38.3651, 9.6622)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB338 #5C38B3
analogous
#B39938 #8FB338 #51B338
triadic
#8FB338 #388FB3 #B3388F
tetradic
#8FB338 #38B399 #5C38B3 #B33851
square
#8FB338 #38B399 #5C38B3 #B33851
split-complementary
#8FB338 #3851B3 #9938B3
monochromatic
#45561B #6A8429 #8FB338 #ABCC5C #C3DB8B

Accessibility & contrast

On white

2.42
#8FB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#8FB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB338
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB338#FFFFFF#000000##000000
##8FB3381.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#96AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fb338;
/* rgb */ color: rgb(143, 179, 56);
/* oklch */ color: oklch(71.6% 0.153 124.4);
Tailwind
colors: {
  custom: {
    50: '#b3c976',
    500: '#8fb338',
    950: '#000000',
  },
}
SCSS
$custom: #8fb338;
$custom-light: #b3c976;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb338",
  "rgb": {
    "r": 143,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 77.561,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7164,
    "c": 0.15342,
    "h": 124.4
  },
  "luminance": 0.38365
}

Semantic roles & 50–950 ramp

primary
#8FB338
secondary
#9582C5
accent
#4CDC76
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8FB338

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

Preview Lab → · Contrast checker → · Palette generator →

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