#5B8930#5B8930

#5B8930 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.130 H 132.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5B8930
RGBrgb(91, 137, 48)
HSLhsl(91, 48%, 36%)
HSVhsv(91, 65%, 54%)
CMYKcmyk(33.6%, 0%, 65%, 46.3%)
CIE-LABlab(52.21, -31.24, 41.52)
CIE-LCHlch(52.21, 51.96, 126.96°)
OKLaboklab(57.74% -0.0875 0.0957)
OKLCHoklch(57.74% 0.13 132.4)
XYZxyz(13.7934, 20.3284, 5.9927)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8930 #5E3089
analogous
#888930 #5B8930 #308932
triadic
#5B8930 #305B89 #89305B
tetradic
#5B8930 #308889 #5E3089 #893230
square
#5B8930 #308889 #5E3089 #893230
split-complementary
#5B8930 #323089 #893088
monochromatic
#1F2E10 #3D5C20 #5B8930 #79B640 #98CA69

Accessibility & contrast

On white

4.15
#5B8930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5B8930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8930
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8930#FFFFFF#000000##000000
##5B89301.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F25
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#5C8476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b8930;
/* rgb */ color: rgb(91, 137, 48);
/* oklch */ color: oklch(57.7% 0.130 132.4);
Tailwind
colors: {
  custom: {
    50: '#8dab6c',
    500: '#5b8930',
    950: '#000000',
  },
}
SCSS
$custom: #5b8930;
$custom-light: #8dab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8930",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 48
  },
  "hsl": {
    "h": 91.011,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.12969,
    "h": 132.4
  },
  "luminance": 0.20329
}

Semantic roles & 50–950 ramp

primary
#5B8930
secondary
#8C63B2
accent
#50D896
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B8930

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

Preview Lab → · Contrast checker → · Palette generator →

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