#5B9728#5B9728

#5B9728 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.3% C 0.154 H 133.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5B9728
RGBrgb(91, 151, 40)
HSLhsl(92, 58%, 37%)
HSVhsv(92, 74%, 59%)
CMYKcmyk(39.7%, 0%, 73.5%, 40.8%)
CIE-LABlab(56.59, -38.20, 49.45)
CIE-LCHlch(56.59, 62.48, 127.68°)
OKLaboklab(61.3% -0.1071 0.1113)
OKLCHoklch(61.3% 0.154 133.9)
XYZxyz(15.7637, 24.5098, 5.9073)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9728 #642897
analogous
#939728 #5B9728 #28972C
triadic
#5B9728 #285B97 #97285B
tetradic
#5B9728 #289397 #642897 #972C28
square
#5B9728 #289397 #642897 #972C28
split-complementary
#5B9728 #2C2897 #972893
monochromatic
#21360E #3E671B #5B9728 #78C735 #98D664

Accessibility & contrast

On white

3.56
#5B9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5B9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9728
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9728#FFFFFF#000000##000000
##5B97281.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#5B9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9728;
/* rgb */ color: rgb(91, 151, 40);
/* oklch */ color: oklch(61.3% 0.154 133.9);
Tailwind
colors: {
  custom: {
    50: '#8eb669',
    500: '#5b9728',
    950: '#000000',
  },
}
SCSS
$custom: #5b9728;
$custom-light: #8eb669;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9728",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 92.432,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.15444,
    "h": 133.9
  },
  "luminance": 0.24511
}

Semantic roles & 50–950 ramp

primary
#5B9728
secondary
#915FBC
accent
#46E19A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9728

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

Preview Lab → · Contrast checker → · Palette generator →

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