#5F9928#5F9928

#5F9928 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.0% C 0.155 H 133.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5F9928
RGBrgb(95, 153, 40)
HSLhsl(91, 59%, 38%)
HSVhsv(91, 74%, 60%)
CMYKcmyk(37.9%, 0%, 73.9%, 40%)
CIE-LABlab(57.43, -37.63, 50.35)
CIE-LCHlch(57.43, 62.86, 126.77°)
OKLaboklab(62.04% -0.1058 0.1131)
OKLCHoklch(62.04% 0.155 133.1)
XYZxyz(16.4933, 25.3678, 6.0345)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9928 #622899
analogous
#989928 #5F9928 #289929
triadic
#5F9928 #285F99 #99285F
tetradic
#5F9928 #289899 #622899 #992928
square
#5F9928 #289899 #622899 #992928
split-complementary
#5F9928 #292899 #992898
monochromatic
#23380F #41681B #5F9928 #7DCA35 #9CD765

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9928#FFFFFF#000000##000000
##5F99281.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)
#9F8D13
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#5F9383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9928;
/* rgb */ color: rgb(95, 153, 40);
/* oklch */ color: oklch(62.0% 0.155 133.1);
Tailwind
colors: {
  custom: {
    50: '#91b76a',
    500: '#5f9928',
    950: '#000000',
  },
}
SCSS
$custom: #5f9928;
$custom-light: #91b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9928",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 90.796,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62039,
    "c": 0.15489,
    "h": 133.1
  },
  "luminance": 0.25369
}

Semantic roles & 50–950 ramp

primary
#5F9928
secondary
#9060BD
accent
#46E296
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9928

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

Preview Lab → · Contrast checker → · Palette generator →

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