#5FA022#5FA022

#5FA022 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.8% C 0.167 H 133.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5FA022
RGBrgb(95, 160, 34)
HSLhsl(91, 65%, 38%)
HSVhsv(91, 79%, 63%)
CMYKcmyk(40.6%, 0%, 78.8%, 37.3%)
CIE-LABlab(59.61, -41.02, 54.54)
CIE-LCHlch(59.61, 68.24, 126.95°)
OKLaboklab(63.81% -0.1154 0.121)
OKLCHoklch(63.81% 0.167 133.6)
XYZxyz(17.5786, 27.6891, 5.9314)
Luminance0.2769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA022 #6322A0
analogous
#9EA022 #5FA022 #22A024
triadic
#5FA022 #225FA0 #A0225F
tetradic
#5FA022 #229EA0 #6322A0 #A02422
square
#5FA022 #229EA0 #6322A0 #A02422
split-complementary
#5FA022 #2422A0 #A0229E
monochromatic
#233B0D #416E17 #5FA022 #7DD22D #9CDD5F

Accessibility & contrast

On white

3.21
#5FA022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5FA022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA022
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA022#FFFFFF#000000##000000
##5FA0221.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#5F9989
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa022;
/* rgb */ color: rgb(95, 160, 34);
/* oklch */ color: oklch(63.8% 0.167 133.6);
Tailwind
colors: {
  custom: {
    50: '#92bc68',
    500: '#5fa022',
    950: '#000000',
  },
}
SCSS
$custom: #5fa022;
$custom-light: #92bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa022",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 90.952,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63807,
    "c": 0.16717,
    "h": 133.6
  },
  "luminance": 0.2769
}

Semantic roles & 50–950 ramp

primary
#5FA022
secondary
#915CC2
accent
#40E897
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA022

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

Preview Lab → · Contrast checker → · Palette generator →

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