#5FAF22#5FAF22

#5FAF22 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 67.7% C 0.185 H 135.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5FAF22
RGBrgb(95, 175, 34)
HSLhsl(94, 67%, 41%)
HSVhsv(94, 81%, 69%)
CMYKcmyk(45.7%, 0%, 80.6%, 31.4%)
CIE-LABlab(64.33, -47.18, 58.95)
CIE-LCHlch(64.33, 75.51, 128.67°)
OKLaboklab(67.68% -0.132 0.1302)
OKLCHoklch(67.68% 0.185 135.4)
XYZxyz(20.3375, 33.2071, 6.8510)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF22 #7222AF
analogous
#A5AF22 #5FAF22 #22AF2C
triadic
#5FAF22 #225FAF #AF225F
tetradic
#5FAF22 #22A5AF #7222AF #AF2C22
square
#5FAF22 #22A5AF #7222AF #AF2C22
split-complementary
#5FAF22 #2C22AF #AF22A5
monochromatic
#27490E #437C18 #5FAF22 #7CD836 #9EE269

Accessibility & contrast

On white

2.75
#5FAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#5FAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF22
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF22#FFFFFF#000000##000000
##5FAF221.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#AB9A33
Tritanopia (blue-blind)
#5CA895
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf22;
/* rgb */ color: rgb(95, 175, 34);
/* oklch */ color: oklch(67.7% 0.185 135.4);
Tailwind
colors: {
  custom: {
    50: '#94c76a',
    500: '#5faf22',
    950: '#000000',
  },
}
SCSS
$custom: #5faf22;
$custom-light: #94c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf22",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 94.043,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67679,
    "c": 0.18539,
    "h": 135.4
  },
  "luminance": 0.33208
}

Semantic roles & 50–950 ramp

primary
#5FAF22
secondary
#9D65C8
accent
#3DEAA0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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