#5B8A2B#5B8A2B

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

Color values

HEX#5B8A2B
RGBrgb(91, 138, 43)
HSLhsl(90, 52%, 35%)
HSVhsv(90, 69%, 54%)
CMYKcmyk(34.1%, 0%, 68.8%, 45.9%)
CIE-LABlab(52.48, -32.14, 44.02)
CIE-LCHlch(52.48, 54.50, 126.13°)
OKLaboklab(57.95% -0.0904 0.1004)
OKLCHoklch(57.95% 0.135 132)
XYZxyz(13.8387, 20.5750, 5.5273)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A2B #5A2B8A
analogous
#8A892B #5B8A2B #2C8A2B
triadic
#5B8A2B #2B5B8A #8A2B5B
tetradic
#5B8A2B #2B8A89 #5A2B8A #8A2B2C
square
#5B8A2B #2B8A89 #5A2B8A #8A2B2C
split-complementary
#5B8A2B #2B2C8A #892B8A
monochromatic
#1D2D0E #3C5B1C #5B8A2B #7AB93A #98CE61

Accessibility & contrast

On white

4.11
#5B8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8A2B#FFFFFF#000000##000000
##5B8A2B1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801E
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#5C8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8a2b;
/* rgb */ color: rgb(91, 138, 43);
/* oklch */ color: oklch(57.9% 0.135 132.0);
Tailwind
colors: {
  custom: {
    50: '#8dac6a',
    500: '#5b8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a2b;
$custom-light: #8dac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a2b",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 89.684,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.13504,
    "h": 132
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#5B8A2B
secondary
#885DB4
accent
#4CDC93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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