#5B975F#5B975F

#5B975F is a light, moderate green. Relative luminance 0.252; OKLCH L 62.1% C 0.104 H 145.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5B975F
RGBrgb(91, 151, 95)
HSLhsl(124, 25%, 47%)
HSVhsv(124, 40%, 59%)
CMYKcmyk(39.7%, 0%, 37.1%, 40.8%)
CIE-LABlab(57.25, -31.59, 23.55)
CIE-LCHlch(57.25, 39.40, 143.30°)
OKLaboklab(62.05% -0.086 0.0587)
OKLCHoklch(62.05% 0.104 145.7)
XYZxyz(17.4457, 25.1826, 14.7657)
Luminance0.2518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B975F #975B93
analogous
#75975B #5B975F #5B977D
triadic
#5B975F #5F5B97 #975F5B
tetradic
#5B975F #5B7597 #975B93 #977D5B
square
#5B975F #5B7597 #975B93 #977D5B
split-complementary
#5B975F #7D5B97 #975B75
monochromatic
#2D4B2F #447147 #5B975F #7EB181 #A4C8A7

Accessibility & contrast

On white

3.48
#5B975F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5B975F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B975F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B975F#FFFFFF#000000##000000
##5B975F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D5B
Deuteranopia (green-blind)
#908762
Tritanopia (blue-blind)
#539489
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b975f;
/* rgb */ color: rgb(91, 151, 95);
/* oklch */ color: oklch(62.1% 0.104 145.7);
Tailwind
colors: {
  custom: {
    50: '#8cb68d',
    500: '#5b975f',
    950: '#000000',
  },
}
SCSS
$custom: #5b975f;
$custom-light: #8cb68d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b975f",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 124,
    "s": 24.793,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6205,
    "c": 0.10418,
    "h": 145.7
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#5B975F
secondary
#B698B4
accent
#67BBC1
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5B975F

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

Preview Lab → · Contrast checker → · Palette generator →

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