#5B8A2E#5B8A2E

#5B8A2E is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.133 H 132.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5B8A2E
RGBrgb(91, 138, 46)
HSLhsl(91, 50%, 36%)
HSVhsv(91, 67%, 54%)
CMYKcmyk(34.1%, 0%, 66.7%, 45.9%)
CIE-LABlab(52.51, -31.88, 42.74)
CIE-LCHlch(52.51, 53.32, 126.72°)
OKLaboklab(57.98% -0.0894 0.0981)
OKLCHoklch(57.98% 0.133 132.4)
XYZxyz(13.8958, 20.5978, 5.8279)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A2E #5D2E8A
analogous
#898A2E #5B8A2E #2E8A2F
triadic
#5B8A2E #2E5B8A #8A2E5B
tetradic
#5B8A2E #2E898A #5D2E8A #8A2F2E
square
#5B8A2E #2E898A #5D2E8A #8A2F2E
split-complementary
#5B8A2E #2F2E8A #8A2E89
monochromatic
#1E2E0F #3D5C1F #5B8A2E #79B83D #98CC66

Accessibility & contrast

On white

4.10
#5B8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5B8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8A2E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8A2E#FFFFFF#000000##000000
##5B8A2E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#5C8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8a2e;
/* rgb */ color: rgb(91, 138, 46);
/* oklch */ color: oklch(58.0% 0.133 132.4);
Tailwind
colors: {
  custom: {
    50: '#8dac6b',
    500: '#5b8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a2e;
$custom-light: #8dac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a2e",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 90.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57977,
    "c": 0.13271,
    "h": 132.4
  },
  "luminance": 0.20598
}

Semantic roles & 50–950 ramp

primary
#5B8A2E
secondary
#8B61B3
accent
#4EDA95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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