#5F9D22#5F9D22

#5F9D22 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.163 H 133.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5F9D22
RGBrgb(95, 157, 34)
HSLhsl(90, 64%, 37%)
HSVhsv(90, 78%, 62%)
CMYKcmyk(39.5%, 0%, 78.3%, 38.4%)
CIE-LABlab(58.66, -39.74, 53.64)
CIE-LCHlch(58.66, 66.76, 126.53°)
OKLaboklab(63.03% -0.1119 0.1191)
OKLCHoklch(63.03% 0.163 133.2)
XYZxyz(17.0648, 26.6615, 5.7601)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9D22 #60229D
analogous
#9C9D22 #5F9D22 #229D23
triadic
#5F9D22 #225F9D #9D225F
tetradic
#5F9D22 #229C9D #60229D #9D2322
square
#5F9D22 #229C9D #60229D #9D2322
split-complementary
#5F9D22 #23229D #9D229C
monochromatic
#22380C #416B17 #5F9D22 #7DCF2D #9CDC5D

Accessibility & contrast

On white

3.32
#5F9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5F9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9D22
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9D22#FFFFFF#000000##000000
##5F9D221.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49001
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#5F9686
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f9d22;
/* rgb */ color: rgb(95, 157, 34);
/* oklch */ color: oklch(63.0% 0.163 133.2);
Tailwind
colors: {
  custom: {
    50: '#92ba67',
    500: '#5f9d22',
    950: '#000000',
  },
}
SCSS
$custom: #5f9d22;
$custom-light: #92ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9d22",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 90.244,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63031,
    "c": 0.16343,
    "h": 133.2
  },
  "luminance": 0.26662
}

Semantic roles & 50–950 ramp

primary
#5F9D22
secondary
#8E5AC1
accent
#40E795
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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