#8FA531#8FA531

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

Color values

HEX#8FA531
RGBrgb(143, 165, 49)
HSLhsl(71, 54%, 42%)
HSVhsv(71, 70%, 65%)
CMYKcmyk(13.3%, 0%, 70.3%, 35.3%)
CIE-LABlab(64.14, -23.63, 54.63)
CIE-LCHlch(64.14, 59.52, 113.39°)
OKLaboklab(68.28% -0.0697 0.1224)
OKLCHoklch(68.28% 0.141 119.6)
XYZxyz(25.3377, 32.9718, 7.9345)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA531 #4731A5
analogous
#A58131 #8FA531 #55A531
triadic
#8FA531 #318FA5 #A5318F
tetradic
#8FA531 #31A581 #4731A5 #A53155
square
#8FA531 #31A581 #4731A5 #A53155
split-complementary
#8FA531 #3155A5 #8131A5
monochromatic
#3D4715 #667623 #8FA531 #B1C94A #C5D779

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA531#FFFFFF#000000##000000
##8FA5311.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)
#B09C1E
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#979C8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa531;
/* rgb */ color: rgb(143, 165, 49);
/* oklch */ color: oklch(68.3% 0.141 119.6);
Tailwind
colors: {
  custom: {
    50: '#b3bf70',
    500: '#8fa531',
    950: '#000000',
  },
}
SCSS
$custom: #8fa531;
$custom-light: #b3bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa531",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 71.379,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68276,
    "c": 0.14087,
    "h": 119.6
  },
  "luminance": 0.32972
}

Semantic roles & 50–950 ramp

primary
#8FA531
secondary
#8172C0
accent
#4ADE66
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA531

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

Preview Lab → · Contrast checker → · Palette generator →

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