#5F9927#5F9927

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

Color values

HEX#5F9927
RGBrgb(95, 153, 39)
HSLhsl(91, 59%, 38%)
HSVhsv(91, 75%, 60%)
CMYKcmyk(37.9%, 0%, 74.5%, 40%)
CIE-LABlab(57.43, -37.70, 50.72)
CIE-LCHlch(57.43, 63.19, 126.62°)
OKLaboklab(62.03% -0.1061 0.1137)
OKLCHoklch(62.03% 0.156 133)
XYZxyz(16.4765, 25.3611, 5.9461)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9927 #612799
analogous
#989927 #5F9927 #279928
triadic
#5F9927 #275F99 #99275F
tetradic
#5F9927 #279899 #612799 #992827
square
#5F9927 #279899 #612799 #992827
split-complementary
#5F9927 #282799 #992798
monochromatic
#22370E #41681B #5F9927 #7DCA33 #9CD763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9927#FFFFFF#000000##000000
##5F99271.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)
#9F8D11
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#5F9383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9927;
/* rgb */ color: rgb(95, 153, 39);
/* oklch */ color: oklch(62.0% 0.156 133.0);
Tailwind
colors: {
  custom: {
    50: '#91b769',
    500: '#5f9927',
    950: '#000000',
  },
}
SCSS
$custom: #5f9927;
$custom-light: #91b769;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9927",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 90.526,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62032,
    "c": 0.15551,
    "h": 133
  },
  "luminance": 0.25362
}

Semantic roles & 50–950 ramp

primary
#5F9927
secondary
#8F5FBD
accent
#45E395
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9927

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

Preview Lab → · Contrast checker → · Palette generator →

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