#5F9922#5F9922

#5F9922 is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.0% C 0.158 H 132.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5F9922
RGBrgb(95, 153, 34)
HSLhsl(89, 64%, 37%)
HSVhsv(89, 78%, 60%)
CMYKcmyk(37.9%, 0%, 77.8%, 40%)
CIE-LABlab(57.40, -38.01, 52.44)
CIE-LCHlch(57.40, 64.77, 125.93°)
OKLaboklab(62% -0.1073 0.1166)
OKLCHoklch(62% 0.158 132.6)
XYZxyz(16.3991, 25.3301, 5.5382)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9922 #5C2299
analogous
#999822 #5F9922 #249922
triadic
#5F9922 #225F99 #99225F
tetradic
#5F9922 #229998 #5C2299 #992224
square
#5F9922 #229998 #5C2299 #992224
split-complementary
#5F9922 #222499 #982299
monochromatic
#21350C #406717 #5F9922 #7ECB2D #9CDB5B

Accessibility & contrast

On white

3.46
#5F9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5F9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9922
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9922#FFFFFF#000000##000000
##5F99221.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D03
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#609383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9922;
/* rgb */ color: rgb(95, 153, 34);
/* oklch */ color: oklch(62.0% 0.158 132.6);
Tailwind
colors: {
  custom: {
    50: '#91b767',
    500: '#5f9922',
    950: '#000000',
  },
}
SCSS
$custom: #5f9922;
$custom-light: #91b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9922",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 89.244,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.15841,
    "h": 132.6
  },
  "luminance": 0.25331
}

Semantic roles & 50–950 ramp

primary
#5F9922
secondary
#8A58BF
accent
#41E792
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9922

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

Preview Lab → · Contrast checker → · Palette generator →

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