#2F5641#2F5641

#2F5641 is a dark, muted green. Relative luminance 0.076; OKLCH L 41.7% C 0.057 H 159.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2F5641
RGBrgb(47, 86, 65)
HSLhsl(148, 29%, 26%)
HSVhsv(148, 45%, 34%)
CMYKcmyk(45.3%, 0%, 24.4%, 66.3%)
CIE-LABlab(33.22, -19.32, 7.98)
CIE-LCHlch(33.22, 20.90, 157.57°)
OKLaboklab(41.75% -0.0534 0.0204)
OKLCHoklch(41.75% 0.057 159.1)
XYZxyz(5.4538, 7.6412, 6.1875)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5641 #562F44
analogous
#30562F #2F5641 #2F5654
triadic
#2F5641 #412F56 #56412F
tetradic
#2F5641 #2F3056 #562F44 #56542F
square
#2F5641 #2F3056 #562F44 #56542F
split-complementary
#2F5641 #542F56 #562F30
monochromatic
#0B140F #192E23 #2F5641 #457E5F #5AA57D

Accessibility & contrast

On white

8.31
#2F5641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F5641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5641
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5641#FFFFFF#000000##FFFFFF
##2F56411.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555140
Deuteranopia (green-blind)
#4F4C42
Tritanopia (blue-blind)
#265650
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f5641;
/* rgb */ color: rgb(47, 86, 65);
/* oklch */ color: oklch(41.7% 0.057 159.1);
Tailwind
colors: {
  custom: {
    50: '#6a8675',
    500: '#2f5641',
    950: '#000000',
  },
}
SCSS
$custom: #2f5641;
$custom-light: #6a8675;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5641",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 65
  },
  "hsl": {
    "h": 147.692,
    "s": 29.323,
    "l": 26.078
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.05717,
    "h": 159.1
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#2F5641
secondary
#875972
accent
#6298C6
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #2F5641

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

Preview Lab → · Contrast checker → · Palette generator →

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