#8FA52C#8FA52C

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

Color values

HEX#8FA52C
RGBrgb(143, 165, 44)
HSLhsl(71, 58%, 41%)
HSVhsv(71, 73%, 65%)
CMYKcmyk(13.3%, 0%, 73.3%, 35.3%)
CIE-LABlab(64.11, -23.91, 56.46)
CIE-LCHlch(64.11, 61.32, 112.95°)
OKLaboklab(68.24% -0.0709 0.1255)
OKLCHoklch(68.24% 0.144 119.5)
XYZxyz(25.2379, 32.9319, 7.4093)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA52C #422CA5
analogous
#A57E2C #8FA52C #52A52C
triadic
#8FA52C #2C8FA5 #A52C8F
tetradic
#8FA52C #2CA57E #422CA5 #A52C52
square
#8FA52C #2CA57E #422CA5 #A52C52
split-complementary
#8FA52C #2C52A5 #7E2CA5
monochromatic
#3B4412 #65751F #8FA52C #B3CD42 #C7D972

Accessibility & contrast

On white

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

On black

7.59
#8FA52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA52C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA52C#FFFFFF#000000##000000
##8FA52C1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa52c;
/* rgb */ color: rgb(143, 165, 44);
/* oklch */ color: oklch(68.2% 0.144 119.5);
Tailwind
colors: {
  custom: {
    50: '#b3bf6e',
    500: '#8fa52c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa52c;
$custom-light: #b3bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa52c",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 70.909,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68239,
    "c": 0.14412,
    "h": 119.5
  },
  "luminance": 0.32932
}

Semantic roles & 50–950 ramp

primary
#8FA52C
secondary
#7B6CC1
accent
#47E163
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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