#5F9728#5F9728

#5F9728 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.5% C 0.152 H 132.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5F9728
RGBrgb(95, 151, 40)
HSLhsl(90, 58%, 37%)
HSVhsv(90, 74%, 59%)
CMYKcmyk(37.1%, 0%, 73.5%, 40.8%)
CIE-LABlab(56.80, -36.75, 49.72)
CIE-LCHlch(56.80, 61.83, 126.47°)
OKLaboklab(61.52% -0.1034 0.1118)
OKLCHoklch(61.52% 0.152 132.8)
XYZxyz(16.1687, 24.7186, 5.9263)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9728 #602897
analogous
#979728 #5F9728 #289728
triadic
#5F9728 #285F97 #97285F
tetradic
#5F9728 #289797 #602897 #972828
square
#5F9728 #289797 #602897 #972828
split-complementary
#5F9728 #282897 #972897
monochromatic
#22360E #41671B #5F9728 #7DC735 #9CD664

Accessibility & contrast

On white

3.53
#5F9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5F9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9728
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9728#FFFFFF#000000##000000
##5F97281.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#609181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9728;
/* rgb */ color: rgb(95, 151, 40);
/* oklch */ color: oklch(61.5% 0.152 132.8);
Tailwind
colors: {
  custom: {
    50: '#91b66a',
    500: '#5f9728',
    950: '#000000',
  },
}
SCSS
$custom: #5f9728;
$custom-light: #91b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9728",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 90.27,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61523,
    "c": 0.15229,
    "h": 132.8
  },
  "luminance": 0.24719
}

Semantic roles & 50–950 ramp

primary
#5F9728
secondary
#8E5FBC
accent
#46E195
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9728

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

Preview Lab → · Contrast checker → · Palette generator →

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