#8FA631#8FA631

#8FA631 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.5% C 0.142 H 120.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8FA631
RGBrgb(143, 166, 49)
HSLhsl(72, 54%, 42%)
HSVhsv(72, 70%, 65%)
CMYKcmyk(13.9%, 0%, 70.5%, 34.9%)
CIE-LABlab(64.43, -24.12, 54.92)
CIE-LCHlch(64.43, 59.99, 113.71°)
OKLaboklab(68.51% -0.071 0.1231)
OKLCHoklch(68.51% 0.142 120)
XYZxyz(25.5187, 33.3339, 7.9949)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA631 #4831A6
analogous
#A68331 #8FA631 #54A631
triadic
#8FA631 #318FA6 #A6318F
tetradic
#8FA631 #31A683 #4831A6 #A63154
square
#8FA631 #31A683 #4831A6 #A63154
split-complementary
#8FA631 #3154A6 #8331A6
monochromatic
#3E4715 #667723 #8FA631 #B1CA4A #C5D87A

Accessibility & contrast

On white

2.74
#8FA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#8FA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA631
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA631#FFFFFF#000000##000000
##8FA6311.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C1E
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#979D8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8fa631;
/* rgb */ color: rgb(143, 166, 49);
/* oklch */ color: oklch(68.5% 0.142 120.0);
Tailwind
colors: {
  custom: {
    50: '#b3c071',
    500: '#8fa631',
    950: '#000000',
  },
}
SCSS
$custom: #8fa631;
$custom-light: #b3c071;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa631",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 71.795,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68511,
    "c": 0.1421,
    "h": 120
  },
  "luminance": 0.33334
}

Semantic roles & 50–950 ramp

primary
#8FA631
secondary
#8273C0
accent
#4ADE67
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA631

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

Preview Lab → · Contrast checker → · Palette generator →

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