#8FAC38#8FAC38

#8FAC38 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 70.0% C 0.145 H 122.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8FAC38
RGBrgb(143, 172, 56)
HSLhsl(75, 51%, 45%)
HSVhsv(75, 67%, 67%)
CMYKcmyk(16.9%, 0%, 67.4%, 32.5%)
CIE-LABlab(66.24, -26.62, 54.00)
CIE-LCHlch(66.24, 60.21, 116.24°)
OKLaboklab(69.98% -0.0773 0.1222)
OKLCHoklch(69.98% 0.145 122.3)
XYZxyz(26.7943, 35.6301, 9.2063)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAC38 #5538AC
analogous
#AC8F38 #8FAC38 #55AC38
triadic
#8FAC38 #388FAC #AC388F
tetradic
#8FAC38 #38AC8F #5538AC #AC3855
square
#8FAC38 #38AC8F #5538AC #AC3855
split-complementary
#8FAC38 #3855AC #8F38AC
monochromatic
#42501A #697E29 #8FAC38 #ADC958 #C4D887

Accessibility & contrast

On white

2.58
#8FAC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#8FAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAC38
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAC38#FFFFFF#000000##000000
##8FAC381.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A227
Deuteranopia (green-blind)
#B2A141
Tritanopia (blue-blind)
#96A395
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8fac38;
/* rgb */ color: rgb(143, 172, 56);
/* oklch */ color: oklch(70.0% 0.145 122.3);
Tailwind
colors: {
  custom: {
    50: '#b3c475',
    500: '#8fac38',
    950: '#000000',
  },
}
SCSS
$custom: #8fac38;
$custom-light: #b3c475;
$custom-dark: #000000;
JSON
{
  "hex": "#8fac38",
  "rgb": {
    "r": 143,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 75,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69983,
    "c": 0.1446,
    "h": 122.3
  },
  "luminance": 0.3563
}

Semantic roles & 50–950 ramp

primary
#8FAC38
secondary
#8F7EC2
accent
#4DDA71
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8FAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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