#5B8D2E#5B8D2E

#5B8D2E is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.137 H 132.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5B8D2E
RGBrgb(91, 141, 46)
HSLhsl(92, 51%, 37%)
HSVhsv(92, 67%, 55%)
CMYKcmyk(35.5%, 0%, 67.4%, 44.7%)
CIE-LABlab(53.46, -33.27, 43.77)
CIE-LCHlch(53.46, 54.98, 127.24°)
OKLaboklab(58.76% -0.0932 0.1002)
OKLCHoklch(58.76% 0.137 132.9)
XYZxyz(14.3322, 21.4706, 5.9733)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8D2E #602E8D
analogous
#8B8D2E #5B8D2E #2E8D31
triadic
#5B8D2E #2E5B8D #8D2E5B
tetradic
#5B8D2E #2E8B8D #602E8D #8D312E
square
#5B8D2E #2E8B8D #602E8D #8D312E
split-complementary
#5B8D2E #312E8D #8D2E8B
monochromatic
#1F3110 #3D5F1F #5B8D2E #79BB3D #98CE68

Accessibility & contrast

On white

3.97
#5B8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5B8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8D2E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8D2E#FFFFFF#000000##000000
##5B8D2E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938221
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#5C877A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b8d2e;
/* rgb */ color: rgb(91, 141, 46);
/* oklch */ color: oklch(58.8% 0.137 132.9);
Tailwind
colors: {
  custom: {
    50: '#8dae6c',
    500: '#5b8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8d2e;
$custom-light: #8dae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8d2e",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 91.579,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.13686,
    "h": 132.9
  },
  "luminance": 0.21471
}

Semantic roles & 50–950 ramp

primary
#5B8D2E
secondary
#8E62B5
accent
#4EDA98
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5B8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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