#5A835D#5A835D

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

Color values

HEX#5A835D
RGBrgb(90, 131, 93)
HSLhsl(124, 19%, 43%)
HSVhsv(124, 31%, 51%)
CMYKcmyk(31.3%, 0%, 29%, 48.6%)
CIE-LABlab(50.92, -22.45, 16.13)
CIE-LCHlch(50.92, 27.64, 144.31°)
OKLaboklab(56.89% -0.0613 0.0409)
OKLCHoklch(56.89% 0.074 146.3)
XYZxyz(14.3079, 19.1960, 13.3051)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A835D #835A80
analogous
#6B835A #5A835D #5A8371
triadic
#5A835D #5D5A83 #835D5A
tetradic
#5A835D #5A6B83 #835A80 #83715A
square
#5A835D #5A6B83 #835A80 #83715A
split-complementary
#5A835D #715A83 #835A6B
monochromatic
#283A29 #415F43 #5A835D #78A27B #9CBB9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A835D#FFFFFF#000000##000000
##5A835D1.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)
#847C5B
Deuteranopia (green-blind)
#7E785F
Tritanopia (blue-blind)
#558179
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a835d;
/* rgb */ color: rgb(90, 131, 93);
/* oklch */ color: oklch(56.9% 0.074 146.3);
Tailwind
colors: {
  custom: {
    50: '#8aa78b',
    500: '#5a835d',
    950: '#000000',
  },
}
SCSS
$custom: #5a835d;
$custom-light: #8aa78b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a835d",
  "rgb": {
    "r": 90,
    "g": 131,
    "b": 93
  },
  "hsl": {
    "h": 124.39,
    "s": 18.552,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.0737,
    "h": 146.3
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#5A835D
secondary
#A990A7
accent
#6DB5BB
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C0F0C
muted
#7D7F7D

Preview Lab

Preview with #5A835D

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

Preview Lab → · Contrast checker → · Palette generator →

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