#5F905F#5F905F

#5F905F is a mid, moderate green. Relative luminance 0.232; OKLCH L 60.5% C 0.090 H 144.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5F905F
RGBrgb(95, 144, 95)
HSLhsl(120, 21%, 47%)
HSVhsv(120, 34%, 56%)
CMYKcmyk(34%, 0%, 34%, 43.5%)
CIE-LABlab(55.28, -26.89, 20.96)
CIE-LCHlch(55.28, 34.09, 142.07°)
OKLaboklab(60.51% -0.0733 0.0526)
OKLCHoklch(60.51% 0.09 144.4)
XYZxyz(16.7574, 23.2049, 14.4203)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F905F #905F90
analogous
#78905F #5F905F #5F9078
triadic
#5F905F #5F5F90 #905F5F
tetradic
#5F905F #5F7890 #905F90 #90785F
square
#5F905F #5F7890 #905F90 #90785F
split-complementary
#5F905F #785F90 #905F78
monochromatic
#2E462E #476B47 #5F905F #81AC81 #A5C4A5

Accessibility & contrast

On white

3.72
#5F905F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5F905F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F905F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F905F#FFFFFF#000000##000000
##5F905F1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92875C
Deuteranopia (green-blind)
#8A8262
Tritanopia (blue-blind)
#5A8D83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f905f;
/* rgb */ color: rgb(95, 144, 95);
/* oklch */ color: oklch(60.5% 0.090 144.4);
Tailwind
colors: {
  custom: {
    50: '#8eb18d',
    500: '#5f905f',
    950: '#000000',
  },
}
SCSS
$custom: #5f905f;
$custom-light: #8eb18d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f905f",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 95
  },
  "hsl": {
    "h": 120,
    "s": 20.502,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60508,
    "c": 0.09022,
    "h": 144.4
  },
  "luminance": 0.23206
}

Semantic roles & 50–950 ramp

primary
#5F905F
secondary
#B299B2
accent
#6BBDBD
background
#F8FAF8
surface
#F0F5F0
border
#CBCFCB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5F905F

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

Preview Lab → · Contrast checker → · Palette generator →

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