#2F513E#2F513E

#2F513E is a dark, muted green. Relative luminance 0.068; OKLCH L 40.3% C 0.051 H 158.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2F513E
RGBrgb(47, 81, 62)
HSLhsl(146, 27%, 25%)
HSVhsv(146, 42%, 32%)
CMYKcmyk(42%, 0%, 23.5%, 68.2%)
CIE-LABlab(31.43, -17.30, 7.34)
CIE-LCHlch(31.43, 18.80, 157.01°)
OKLaboklab(40.27% -0.0479 0.0188)
OKLCHoklch(40.27% 0.051 158.5)
XYZxyz(4.9839, 6.8367, 5.6135)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F513E #512F42
analogous
#31512F #2F513E #2F514F
triadic
#2F513E #3E2F51 #513E2F
tetradic
#2F513E #2F3151 #512F42 #514F2F
square
#2F513E #2F3151 #512F42 #514F2F
split-complementary
#2F513E #4F2F51 #512F31
monochromatic
#0B130F #192A20 #2F513E #45785C #5C9E79

Accessibility & contrast

On white

8.87
#2F513E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F513E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F513E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F513E#FFFFFF#000000##FFFFFF
##2F513E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3D
Deuteranopia (green-blind)
#4B483F
Tritanopia (blue-blind)
#28514C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f513e;
/* rgb */ color: rgb(47, 81, 62);
/* oklch */ color: oklch(40.3% 0.051 158.5);
Tailwind
colors: {
  custom: {
    50: '#698273',
    500: '#2f513e',
    950: '#000000',
  },
}
SCSS
$custom: #2f513e;
$custom-light: #698273;
$custom-dark: #000000;
JSON
{
  "hex": "#2f513e",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 62
  },
  "hsl": {
    "h": 146.471,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.05144,
    "h": 158.5
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#2F513E
secondary
#825970
accent
#6599C3
background
#F6F7F6
surface
#EBEEEC
border
#C6C9C7
text
#060A08
muted
#7A7C7B

Preview Lab

Preview with #2F513E

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

Preview Lab → · Contrast checker → · Palette generator →

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