#8FA538#8FA538

#8FA538 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.3% C 0.136 H 119.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8FA538
RGBrgb(143, 165, 56)
HSLhsl(72, 49%, 43%)
HSVhsv(72, 66%, 65%)
CMYKcmyk(13.3%, 0%, 66.1%, 35.3%)
CIE-LABlab(64.19, -23.18, 51.87)
CIE-LCHlch(64.19, 56.81, 114.08°)
OKLaboklab(68.33% -0.0677 0.1177)
OKLCHoklch(68.33% 0.136 119.9)
XYZxyz(25.4970, 33.0355, 8.7739)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA538 #4E38A5
analogous
#A58438 #8FA538 #58A538
triadic
#8FA538 #388FA5 #A5388F
tetradic
#8FA538 #38A584 #4E38A5 #A53858
square
#8FA538 #38A584 #4E38A5 #A53858
split-complementary
#8FA538 #3858A5 #8438A5
monochromatic
#404A19 #677728 #8FA538 #AFC555 #C4D583

Accessibility & contrast

On white

2.76
#8FA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#8FA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA538
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA538#FFFFFF#000000##000000
##8FA5381.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C29
Deuteranopia (green-blind)
#AD9C40
Tritanopia (blue-blind)
#979C8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa538;
/* rgb */ color: rgb(143, 165, 56);
/* oklch */ color: oklch(68.3% 0.136 119.9);
Tailwind
colors: {
  custom: {
    50: '#b2bf74',
    500: '#8fa538',
    950: '#000000',
  },
}
SCSS
$custom: #8fa538;
$custom-light: #b2bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa538",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 72.11,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68334,
    "c": 0.13582,
    "h": 119.9
  },
  "luminance": 0.33035
}

Semantic roles & 50–950 ramp

primary
#8FA538
secondary
#887ABE
accent
#4FD96B
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA538

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

Preview Lab → · Contrast checker → · Palette generator →

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