#8FA338#8FA338

#8FA338 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.9% C 0.133 H 119.2°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8FA338
RGBrgb(143, 163, 56)
HSLhsl(71, 49%, 43%)
HSVhsv(71, 66%, 64%)
CMYKcmyk(12.3%, 0%, 65.6%, 36.1%)
CIE-LABlab(63.61, -22.18, 51.26)
CIE-LCHlch(63.61, 55.85, 113.40°)
OKLaboklab(67.86% -0.065 0.1164)
OKLCHoklch(67.86% 0.133 119.2)
XYZxyz(25.1391, 32.3197, 8.6546)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA338 #4C38A3
analogous
#A38138 #8FA338 #59A338
triadic
#8FA338 #388FA3 #A3388F
tetradic
#8FA338 #38A381 #4C38A3 #A33859
square
#8FA338 #38A381 #4C38A3 #A33859
split-complementary
#8FA338 #3859A3 #8138A3
monochromatic
#3F4819 #677528 #8FA338 #AFC454 #C4D482

Accessibility & contrast

On white

2.81
#8FA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#8FA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA338
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA338#FFFFFF#000000##000000
##8FA3381.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#AB9A40
Tritanopia (blue-blind)
#979A8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa338;
/* rgb */ color: rgb(143, 163, 56);
/* oklch */ color: oklch(67.9% 0.133 119.2);
Tailwind
colors: {
  custom: {
    50: '#b2be74',
    500: '#8fa338',
    950: '#000000',
  },
}
SCSS
$custom: #8fa338;
$custom-light: #b2be74;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa338",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 71.215,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67864,
    "c": 0.13333,
    "h": 119.2
  },
  "luminance": 0.3232
}

Semantic roles & 50–950 ramp

primary
#8FA338
secondary
#8679BD
accent
#4FD869
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA338

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

Preview Lab → · Contrast checker → · Palette generator →

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