#5F9C22#5F9C22

#5F9C22 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.8% C 0.162 H 133.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5F9C22
RGBrgb(95, 156, 34)
HSLhsl(90, 64%, 37%)
HSVhsv(90, 78%, 61%)
CMYKcmyk(39.1%, 0%, 78.2%, 38.8%)
CIE-LABlab(58.34, -39.31, 53.34)
CIE-LCHlch(58.34, 66.26, 126.39°)
OKLaboklab(62.77% -0.1108 0.1185)
OKLCHoklch(62.77% 0.162 133.1)
XYZxyz(16.8963, 26.3245, 5.7039)
Luminance0.2632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9C22 #5F229C
analogous
#9C9C22 #5F9C22 #229C22
triadic
#5F9C22 #225F9C #9C225F
tetradic
#5F9C22 #229C9C #5F229C #9C2222
square
#5F9C22 #229C9C #5F229C #9C2222
split-complementary
#5F9C22 #22229C #9C229C
monochromatic
#22380C #406A17 #5F9C22 #7ECE2D #9CDC5D

Accessibility & contrast

On white

3.35
#5F9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5F9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9C22
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9C22#FFFFFF#000000##000000
##5F9C221.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F01
Deuteranopia (green-blind)
#9A8B2F
Tritanopia (blue-blind)
#5F9685
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f9c22;
/* rgb */ color: rgb(95, 156, 34);
/* oklch */ color: oklch(62.8% 0.162 133.1);
Tailwind
colors: {
  custom: {
    50: '#92b967',
    500: '#5f9c22',
    950: '#000000',
  },
}
SCSS
$custom: #5f9c22;
$custom-light: #92b967;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9c22",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.16218,
    "h": 133.1
  },
  "luminance": 0.26325
}

Semantic roles & 50–950 ramp

primary
#5F9C22
secondary
#8D5AC0
accent
#41E794
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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