#8FA22F#8FA22F

#8FA22F is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.6% C 0.139 H 118.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8FA22F
RGBrgb(143, 162, 47)
HSLhsl(70, 55%, 41%)
HSVhsv(70, 71%, 64%)
CMYKcmyk(11.7%, 0%, 71%, 36.5%)
CIE-LABlab(63.25, -22.25, 54.51)
CIE-LCHlch(63.25, 58.88, 112.20°)
OKLaboklab(67.55% -0.066 0.1219)
OKLCHoklch(67.55% 0.139 118.5)
XYZxyz(24.7616, 31.8857, 7.5389)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA22F #422FA2
analogous
#A27B2F #8FA22F #55A22F
triadic
#8FA22F #2F8FA2 #A22F8F
tetradic
#8FA22F #2FA27B #422FA2 #A22F55
square
#8FA22F #2FA27B #422FA2 #A22F55
split-complementary
#8FA22F #2F55A2 #7B2FA2
monochromatic
#3B4313 #657321 #8FA22F #B3C945 #C7D775

Accessibility & contrast

On white

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

On black

7.38
#8FA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA22F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA22F#FFFFFF#000000##000000
##8FA22F1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa22f;
/* rgb */ color: rgb(143, 162, 47);
/* oklch */ color: oklch(67.6% 0.139 118.5);
Tailwind
colors: {
  custom: {
    50: '#b3bd6f',
    500: '#8fa22f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa22f;
$custom-light: #b3bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa22f",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 69.913,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67555,
    "c": 0.13861,
    "h": 118.5
  },
  "luminance": 0.31886
}

Semantic roles & 50–950 ramp

primary
#8FA22F
secondary
#7B6EBF
accent
#49DE62
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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