#5B8E2E#5B8E2E

#5B8E2E is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.138 H 133.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5B8E2E
RGBrgb(91, 142, 46)
HSLhsl(92, 51%, 37%)
HSVhsv(92, 68%, 56%)
CMYKcmyk(35.9%, 0%, 67.6%, 44.3%)
CIE-LABlab(53.78, -33.73, 44.10)
CIE-LCHlch(53.78, 55.52, 127.40°)
OKLaboklab(59.01% -0.0944 0.1009)
OKLCHoklch(59.01% 0.138 133.1)
XYZxyz(14.4803, 21.7668, 6.0227)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8E2E #612E8E
analogous
#8B8E2E #5B8E2E #2E8E31
triadic
#5B8E2E #2E5B8E #8E2E5B
tetradic
#5B8E2E #2E8B8E #612E8E #8E312E
square
#5B8E2E #2E8B8E #612E8E #8E312E
split-complementary
#5B8E2E #312E8E #8E2E8B
monochromatic
#203210 #3D601F #5B8E2E #79BC3D #98CE68

Accessibility & contrast

On white

3.92
#5B8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5B8E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8E2E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8E2E#FFFFFF#000000##000000
##5B8E2E1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#5B887A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b8e2e;
/* rgb */ color: rgb(91, 142, 46);
/* oklch */ color: oklch(59.0% 0.138 133.1);
Tailwind
colors: {
  custom: {
    50: '#8daf6c',
    500: '#5b8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8e2e;
$custom-light: #8daf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8e2e",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 91.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.13823,
    "h": 133.1
  },
  "luminance": 0.21767
}

Semantic roles & 50–950 ramp

primary
#5B8E2E
secondary
#8E63B5
accent
#4DDB98
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5B8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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