#8FA431#8FA431

#8FA431 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 68.0% C 0.140 H 119.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8FA431
RGBrgb(143, 164, 49)
HSLhsl(71, 54%, 42%)
HSVhsv(71, 70%, 64%)
CMYKcmyk(12.8%, 0%, 70.1%, 35.7%)
CIE-LABlab(63.85, -23.13, 54.34)
CIE-LCHlch(63.85, 59.06, 113.06°)
OKLaboklab(68.04% -0.0683 0.1218)
OKLCHoklch(68.04% 0.14 119.3)
XYZxyz(25.1580, 32.6125, 7.8746)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA431 #4631A4
analogous
#A48031 #8FA431 #55A431
triadic
#8FA431 #318FA4 #A4318F
tetradic
#8FA431 #31A480 #4631A4 #A43155
square
#8FA431 #31A480 #4631A4 #A43155
split-complementary
#8FA431 #3155A4 #8031A4
monochromatic
#3D4615 #667523 #8FA431 #B2C949 #C6D779

Accessibility & contrast

On white

2.79
#8FA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#8FA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA431
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA431#FFFFFF#000000##000000
##8FA4311.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#979B8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa431;
/* rgb */ color: rgb(143, 164, 49);
/* oklch */ color: oklch(68.0% 0.140 119.3);
Tailwind
colors: {
  custom: {
    50: '#b3bf70',
    500: '#8fa431',
    950: '#000000',
  },
}
SCSS
$custom: #8fa431;
$custom-light: #b3bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa431",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 70.957,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68041,
    "c": 0.13967,
    "h": 119.3
  },
  "luminance": 0.32612
}

Semantic roles & 50–950 ramp

primary
#8FA431
secondary
#8072BF
accent
#4ADD65
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA431

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

Preview Lab → · Contrast checker → · Palette generator →

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