#5F9B22#5F9B22

#5F9B22 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.5% C 0.161 H 132.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F9B22
RGBrgb(95, 155, 34)
HSLhsl(90, 64%, 37%)
HSVhsv(90, 78%, 61%)
CMYKcmyk(38.7%, 0%, 78.1%, 39.2%)
CIE-LABlab(58.03, -38.88, 53.04)
CIE-LCHlch(58.03, 65.77, 126.24°)
OKLaboklab(62.52% -0.1096 0.1178)
OKLCHoklch(62.52% 0.161 132.9)
XYZxyz(16.7292, 25.9903, 5.6482)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9B22 #5E229B
analogous
#9B9B22 #5F9B22 #239B22
triadic
#5F9B22 #225F9B #9B225F
tetradic
#5F9B22 #229B9B #5E229B #9B2223
square
#5F9B22 #229B9B #5E229B #9B2223
split-complementary
#5F9B22 #22239B #9B229B
monochromatic
#21370C #406917 #5F9B22 #7ECD2D #9CDB5C

Accessibility & contrast

On white

3.39
#5F9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5F9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9B22
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9B22#FFFFFF#000000##000000
##5F9B221.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E02
Deuteranopia (green-blind)
#998A2F
Tritanopia (blue-blind)
#5F9584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f9b22;
/* rgb */ color: rgb(95, 155, 34);
/* oklch */ color: oklch(62.5% 0.161 132.9);
Tailwind
colors: {
  custom: {
    50: '#92b967',
    500: '#5f9b22',
    950: '#000000',
  },
}
SCSS
$custom: #5f9b22;
$custom-light: #92b967;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9b22",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 89.752,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.16093,
    "h": 132.9
  },
  "luminance": 0.25991
}

Semantic roles & 50–950 ramp

primary
#5F9B22
secondary
#8C59C0
accent
#41E793
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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