#8FA32A#8FA32A

#8FA32A is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.8% C 0.143 H 118.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8FA32A
RGBrgb(143, 163, 42)
HSLhsl(70, 59%, 40%)
HSVhsv(70, 74%, 64%)
CMYKcmyk(12.3%, 0%, 74.2%, 36.1%)
CIE-LABlab(63.51, -23.02, 56.60)
CIE-LCHlch(63.51, 61.10, 112.14°)
OKLaboklab(67.76% -0.0686 0.1254)
OKLCHoklch(67.76% 0.143 118.7)
XYZxyz(24.8433, 32.2014, 7.0968)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA32A #3E2AA3
analogous
#A37A2A #8FA32A #53A32A
triadic
#8FA32A #2A8FA3 #A32A8F
tetradic
#8FA32A #2AA37A #3E2AA3 #A32A53
square
#8FA32A #2AA37A #3E2AA3 #A32A53
split-complementary
#8FA32A #2A53A3 #7A2AA3
monochromatic
#3A4211 #64721D #8FA32A #B5CD3D #C8DA6E

Accessibility & contrast

On white

2.82
#8FA32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8FA32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA32A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA32A#FFFFFF#000000##000000
##8FA32A1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A11
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#989A8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa32a;
/* rgb */ color: rgb(143, 163, 42);
/* oklch */ color: oklch(67.8% 0.143 118.7);
Tailwind
colors: {
  custom: {
    50: '#b3be6d',
    500: '#8fa32a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa32a;
$custom-light: #b3be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa32a",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 69.917,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67755,
    "c": 0.14296,
    "h": 118.7
  },
  "luminance": 0.32201
}

Semantic roles & 50–950 ramp

primary
#8FA32A
secondary
#7768C0
accent
#46E25F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA32A

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

Preview Lab → · Contrast checker → · Palette generator →

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