#8FA52B#8FA52B

#8FA52B is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.2% C 0.145 H 119.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8FA52B
RGBrgb(143, 165, 43)
HSLhsl(71, 59%, 41%)
HSVhsv(71, 74%, 65%)
CMYKcmyk(13.3%, 0%, 73.9%, 35.3%)
CIE-LABlab(64.10, -23.96, 56.81)
CIE-LCHlch(64.10, 61.66, 112.87°)
OKLaboklab(68.23% -0.0711 0.126)
OKLCHoklch(68.23% 0.145 119.4)
XYZxyz(25.2194, 32.9245, 7.3115)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA52B #412BA5
analogous
#A57E2B #8FA52B #52A52B
triadic
#8FA52B #2B8FA5 #A52B8F
tetradic
#8FA52B #2BA57E #412BA5 #A52B52
square
#8FA52B #2BA57E #412BA5 #A52B52
split-complementary
#8FA52B #2B52A5 #7E2BA5
monochromatic
#3B4412 #65741E #8FA52B #B4CD40 #C7DA71

Accessibility & contrast

On white

2.77
#8FA52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#8FA52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA52B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA52B#FFFFFF#000000##000000
##8FA52B1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B12
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#979C8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa52b;
/* rgb */ color: rgb(143, 165, 43);
/* oklch */ color: oklch(68.2% 0.145 119.4);
Tailwind
colors: {
  custom: {
    50: '#b3bf6d',
    500: '#8fa52b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa52b;
$custom-light: #b3bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa52b",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 70.82,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68233,
    "c": 0.14473,
    "h": 119.4
  },
  "luminance": 0.32924
}

Semantic roles & 50–950 ramp

primary
#8FA52B
secondary
#7A6BC1
accent
#46E262
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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