#8FA22A#8FA22A

#8FA22A is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.5% C 0.142 H 118.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8FA22A
RGBrgb(143, 162, 42)
HSLhsl(70, 59%, 40%)
HSVhsv(70, 74%, 64%)
CMYKcmyk(11.7%, 0%, 74.1%, 36.5%)
CIE-LABlab(63.22, -22.52, 56.32)
CIE-LCHlch(63.22, 60.65, 111.80°)
OKLaboklab(67.52% -0.0673 0.1248)
OKLCHoklch(67.52% 0.142 118.3)
XYZxyz(24.6665, 31.8477, 7.0378)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA22A #3D2AA2
analogous
#A2792A #8FA22A #53A22A
triadic
#8FA22A #2A8FA2 #A22A8F
tetradic
#8FA22A #2AA279 #3D2AA2 #A22A53
square
#8FA22A #2AA279 #3D2AA2 #A22A53
split-complementary
#8FA22A #2A53A2 #792AA2
monochromatic
#394111 #64711D #8FA22A #B6CD3D #C8D96D

Accessibility & contrast

On white

2.85
#8FA22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#8FA22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA22A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA22A#FFFFFF#000000##000000
##8FA22A1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#98998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa22a;
/* rgb */ color: rgb(143, 162, 42);
/* oklch */ color: oklch(67.5% 0.142 118.3);
Tailwind
colors: {
  custom: {
    50: '#b3bd6d',
    500: '#8fa22a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa22a;
$custom-light: #b3bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa22a",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 69.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.6752,
    "c": 0.14178,
    "h": 118.3
  },
  "luminance": 0.31847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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