#5B9727#5B9727

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

Color values

HEX#5B9727
RGBrgb(91, 151, 39)
HSLhsl(92, 59%, 37%)
HSVhsv(92, 74%, 59%)
CMYKcmyk(39.7%, 0%, 74.2%, 40.8%)
CIE-LABlab(56.59, -38.27, 49.82)
CIE-LCHlch(56.59, 62.82, 127.53°)
OKLaboklab(61.29% -0.1073 0.1119)
OKLCHoklch(61.29% 0.155 133.8)
XYZxyz(15.7469, 24.5031, 5.8189)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9727 #632797
analogous
#939727 #5B9727 #27972B
triadic
#5B9727 #275B97 #97275B
tetradic
#5B9727 #279397 #632797 #972B27
square
#5B9727 #279397 #632797 #972B27
split-complementary
#5B9727 #2B2797 #972793
monochromatic
#20360E #3E661A #5B9727 #78C834 #98D662

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9727#FFFFFF#000000##000000
##5B97271.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)
#9D8B12
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#5B9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9727;
/* rgb */ color: rgb(91, 151, 39);
/* oklch */ color: oklch(61.3% 0.155 133.8);
Tailwind
colors: {
  custom: {
    50: '#8eb669',
    500: '#5b9727',
    950: '#000000',
  },
}
SCSS
$custom: #5b9727;
$custom-light: #8eb669;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9727",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 92.143,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.15507,
    "h": 133.8
  },
  "luminance": 0.24504
}

Semantic roles & 50–950 ramp

primary
#5B9727
secondary
#905EBC
accent
#46E299
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9727

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

Preview Lab → · Contrast checker → · Palette generator →

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