#5F9F22#5F9F22

#5F9F22 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.5% C 0.166 H 133.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5F9F22
RGBrgb(95, 159, 34)
HSLhsl(91, 65%, 38%)
HSVhsv(91, 79%, 62%)
CMYKcmyk(40.3%, 0%, 78.6%, 37.6%)
CIE-LABlab(59.29, -40.59, 54.24)
CIE-LCHlch(59.29, 67.75, 126.81°)
OKLaboklab(63.55% -0.1142 0.1203)
OKLCHoklch(63.55% 0.166 133.5)
XYZxyz(17.4059, 27.3438, 5.8738)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9F22 #62229F
analogous
#9D9F22 #5F9F22 #229F23
triadic
#5F9F22 #225F9F #9F225F
tetradic
#5F9F22 #229D9F #62229F #9F2322
square
#5F9F22 #229D9F #62229F #9F2322
split-complementary
#5F9F22 #23229F #9F229D
monochromatic
#233A0C #416D17 #5F9F22 #7DD12D #9CDD5F

Accessibility & contrast

On white

3.25
#5F9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5F9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9F22
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9F22#FFFFFF#000000##000000
##5F9F221.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#5F9888
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f9f22;
/* rgb */ color: rgb(95, 159, 34);
/* oklch */ color: oklch(63.5% 0.166 133.5);
Tailwind
colors: {
  custom: {
    50: '#92bc68',
    500: '#5f9f22',
    950: '#000000',
  },
}
SCSS
$custom: #5f9f22;
$custom-light: #92bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9f22",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 90.72,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63548,
    "c": 0.16593,
    "h": 133.5
  },
  "luminance": 0.27345
}

Semantic roles & 50–950 ramp

primary
#5F9F22
secondary
#905BC1
accent
#40E896
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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