#8FA138#8FA138

#8FA138 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.4% C 0.131 H 118.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8FA138
RGBrgb(143, 161, 56)
HSLhsl(70, 48%, 43%)
HSVhsv(70, 65%, 63%)
CMYKcmyk(11.2%, 0%, 65.2%, 36.9%)
CIE-LABlab(63.02, -21.17, 50.65)
CIE-LCHlch(63.02, 54.89, 112.69°)
OKLaboklab(67.4% -0.0622 0.1151)
OKLCHoklch(67.4% 0.131 118.4)
XYZxyz(24.7868, 31.6151, 8.5372)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA138 #4A38A1
analogous
#A17F38 #8FA138 #5AA138
triadic
#8FA138 #388FA1 #A1388F
tetradic
#8FA138 #38A17F #4A38A1 #A1385A
square
#8FA138 #38A17F #4A38A1 #A1385A
split-complementary
#8FA138 #385AA1 #7F38A1
monochromatic
#3E4618 #677428 #8FA138 #B0C353 #C5D380

Accessibility & contrast

On white

2.87
#8FA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8FA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA138
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA138#FFFFFF#000000##000000
##8FA1381.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#A9993F
Tritanopia (blue-blind)
#97988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa138;
/* rgb */ color: rgb(143, 161, 56);
/* oklch */ color: oklch(67.4% 0.131 118.4);
Tailwind
colors: {
  custom: {
    50: '#b2bc74',
    500: '#8fa138',
    950: '#000000',
  },
}
SCSS
$custom: #8fa138;
$custom-light: #b2bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa138",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 70.286,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67396,
    "c": 0.13085,
    "h": 118.4
  },
  "luminance": 0.31615
}

Semantic roles & 50–950 ramp

primary
#8FA138
secondary
#8478BC
accent
#50D867
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA138

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

Preview Lab → · Contrast checker → · Palette generator →

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