#8FAF22#8FAF22

#8FAF22 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.5% C 0.161 H 122.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8FAF22
RGBrgb(143, 175, 34)
HSLhsl(74, 67%, 41%)
HSVhsv(74, 81%, 69%)
CMYKcmyk(18.3%, 0%, 80.6%, 31.4%)
CIE-LABlab(66.99, -29.24, 62.35)
CIE-LCHlch(66.99, 68.87, 115.12°)
OKLaboklab(70.55% -0.0863 0.1362)
OKLCHoklch(70.55% 0.161 122.4)
XYZxyz(26.9468, 36.6150, 7.1608)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAF22 #4222AF
analogous
#AF8822 #8FAF22 #48AF22
triadic
#8FAF22 #228FAF #AF228F
tetradic
#8FAF22 #22AF88 #4222AF #AF2248
square
#8FAF22 #22AF88 #4222AF #AF2248
split-complementary
#8FAF22 #2248AF #8822AF
monochromatic
#3B490E #657C18 #8FAF22 #B3D836 #C7E269

Accessibility & contrast

On white

2.52
#8FAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#8FAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAF22
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAF22#FFFFFF#000000##000000
##8FAF221.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B6A331
Tritanopia (blue-blind)
#97A695
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8faf22;
/* rgb */ color: rgb(143, 175, 34);
/* oklch */ color: oklch(70.5% 0.161 122.4);
Tailwind
colors: {
  custom: {
    50: '#b4c76b',
    500: '#8faf22',
    950: '#000000',
  },
}
SCSS
$custom: #8faf22;
$custom-light: #b4c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8faf22",
  "rgb": {
    "r": 143,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 73.617,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70548,
    "c": 0.16126,
    "h": 122.4
  },
  "luminance": 0.36615
}

Semantic roles & 50–950 ramp

primary
#8FAF22
secondary
#7B65C8
accent
#3DEA65
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8FAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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