#5B9527#5B9527

#5B9527 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.152 H 133.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5B9527
RGBrgb(91, 149, 39)
HSLhsl(92, 59%, 37%)
HSVhsv(92, 74%, 58%)
CMYKcmyk(38.9%, 0%, 73.8%, 41.6%)
CIE-LABlab(55.95, -37.39, 49.18)
CIE-LCHlch(55.95, 61.78, 127.24°)
OKLaboklab(60.77% -0.105 0.1106)
OKLCHoklch(60.77% 0.152 133.5)
XYZxyz(15.4278, 23.8648, 5.7125)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9527 #612795
analogous
#929527 #5B9527 #27952A
triadic
#5B9527 #275B95 #95275B
tetradic
#5B9527 #279295 #612795 #952A27
square
#5B9527 #279295 #612795 #952A27
split-complementary
#5B9527 #2A2795 #952792
monochromatic
#20340E #3D641A #5B9527 #79C634 #98D661

Accessibility & contrast

On white

3.64
#5B9527 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5B9527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9527
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9527#FFFFFF#000000##000000
##5B95271.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8913
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#5B8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9527;
/* rgb */ color: rgb(91, 149, 39);
/* oklch */ color: oklch(60.8% 0.152 133.5);
Tailwind
colors: {
  custom: {
    50: '#8eb469',
    500: '#5b9527',
    950: '#000000',
  },
}
SCSS
$custom: #5b9527;
$custom-light: #8eb469;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9527",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 91.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.15248,
    "h": 133.5
  },
  "luminance": 0.23866
}

Semantic roles & 50–950 ramp

primary
#5B9527
secondary
#8E5DBB
accent
#46E298
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9527

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

Preview Lab → · Contrast checker → · Palette generator →

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