#2F5F3D#2F5F3D

#2F5F3D is a dark, moderate green. Relative luminance 0.091; OKLCH L 44.2% C 0.077 H 151.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2F5F3D
RGBrgb(47, 95, 61)
HSLhsl(138, 34%, 28%)
HSVhsv(138, 51%, 37%)
CMYKcmyk(50.5%, 0%, 35.8%, 62.7%)
CIE-LABlab(36.22, -24.85, 14.56)
CIE-LCHlch(36.22, 28.80, 149.63°)
OKLaboklab(44.16% -0.0677 0.0366)
OKLCHoklch(44.16% 0.077 151.6)
XYZxyz(6.1064, 9.1252, 5.8535)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F3D #5F2F51
analogous
#395F2F #2F5F3D #2F5F55
triadic
#2F5F3D #3D2F5F #5F3D2F
tetradic
#2F5F3D #2F395F #5F2F51 #5F552F
square
#2F5F3D #2F395F #5F2F51 #5F552F
split-complementary
#2F5F3D #552F5F #5F2F39
monochromatic
#0A140D #1B3623 #2F5F3D #438857 #5BAE73

Accessibility & contrast

On white

7.43
#2F5F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2F5F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5F3D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F3D#FFFFFF#000000##FFFFFF
##2F5F3D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F583B
Deuteranopia (green-blind)
#58533F
Tritanopia (blue-blind)
#255E56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f5f3d;
/* rgb */ color: rgb(47, 95, 61);
/* oklch */ color: oklch(44.2% 0.077 151.6);
Tailwind
colors: {
  custom: {
    50: '#6b8d72',
    500: '#2f5f3d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f3d;
$custom-light: #6b8d72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f3d",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 61
  },
  "hsl": {
    "h": 137.5,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.44156,
    "c": 0.07695,
    "h": 151.6
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#2F5F3D
secondary
#915980
accent
#5EAACA
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2F5F3D

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

Preview Lab → · Contrast checker → · Palette generator →

#2F5F3D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva