#8FA22B#8FA22B

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

Color values

HEX#8FA22B
RGBrgb(143, 162, 43)
HSLhsl(70, 58%, 40%)
HSVhsv(70, 73%, 64%)
CMYKcmyk(11.7%, 0%, 73.5%, 36.5%)
CIE-LABlab(63.22, -22.47, 55.97)
CIE-LCHlch(63.22, 60.31, 111.88°)
OKLaboklab(67.53% -0.067 0.1243)
OKLCHoklch(67.53% 0.141 118.3)
XYZxyz(24.6846, 31.8549, 7.1333)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA22B #3E2BA2
analogous
#A27A2B #8FA22B #53A22B
triadic
#8FA22B #2B8FA2 #A22B8F
tetradic
#8FA22B #2BA27A #3E2BA2 #A22B53
square
#8FA22B #2BA27A #3E2BA2 #A22B53
split-complementary
#8FA22B #2B53A2 #7A2BA2
monochromatic
#3A4111 #64721E #8FA22B #B5CC3E #C8D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA22B#FFFFFF#000000##000000
##8FA22B1.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)
#AD9914
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#98998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa22b;
/* rgb */ color: rgb(143, 162, 43);
/* oklch */ color: oklch(67.5% 0.141 118.3);
Tailwind
colors: {
  custom: {
    50: '#b3bd6d',
    500: '#8fa22b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa22b;
$custom-light: #b3bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa22b",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 69.58,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67527,
    "c": 0.14118,
    "h": 118.3
  },
  "luminance": 0.31855
}

Semantic roles & 50–950 ramp

primary
#8FA22B
secondary
#7769C0
accent
#47E15F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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