#5B835B#5B835B

#5B835B is a mid, moderate green. Relative luminance 0.192; OKLCH L 56.9% C 0.075 H 144.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5B835B
RGBrgb(91, 131, 91)
HSLhsl(120, 18%, 44%)
HSVhsv(120, 31%, 51%)
CMYKcmyk(30.5%, 0%, 30.5%, 48.6%)
CIE-LABlab(50.93, -22.46, 17.30)
CIE-LCHlch(50.93, 28.35, 142.39°)
OKLaboklab(56.91% -0.0613 0.0437)
OKLCHoklch(56.91% 0.075 144.5)
XYZxyz(14.3184, 19.2115, 12.8493)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B835B #835B83
analogous
#6F835B #5B835B #5B836F
triadic
#5B835B #5B5B83 #835B5B
tetradic
#5B835B #5B6F83 #835B83 #836F5B
square
#5B835B #5B6F83 #835B83 #836F5B
split-complementary
#5B835B #6F5B83 #835B6F
monochromatic
#293B29 #425F42 #5B835B #79A279 #9DBB9D

Accessibility & contrast

On white

4.34
#5B835B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5B835B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B835B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B835B#FFFFFF#000000##000000
##5B835B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C58
Deuteranopia (green-blind)
#7E785D
Tritanopia (blue-blind)
#578178
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b835b;
/* rgb */ color: rgb(91, 131, 91);
/* oklch */ color: oklch(56.9% 0.075 144.5);
Tailwind
colors: {
  custom: {
    50: '#8aa789',
    500: '#5b835b',
    950: '#000000',
  },
}
SCSS
$custom: #5b835b;
$custom-light: #8aa789;
$custom-dark: #000000;
JSON
{
  "hex": "#5b835b",
  "rgb": {
    "r": 91,
    "g": 131,
    "b": 91
  },
  "hsl": {
    "h": 120,
    "s": 18.018,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.07529,
    "h": 144.5
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#5B835B
secondary
#A991A9
accent
#6DBBBB
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C0F0B
muted
#7D7F7C

Preview Lab

Preview with #5B835B

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

Preview Lab → · Contrast checker → · Palette generator →

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