#2F513D#2F513D

#2F513D is a dark, muted green. Relative luminance 0.068; OKLCH L 40.2% C 0.052 H 157.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2F513D
RGBrgb(47, 81, 61)
HSLhsl(145, 27%, 25%)
HSVhsv(145, 42%, 32%)
CMYKcmyk(42%, 0%, 24.7%, 68.2%)
CIE-LABlab(31.41, -17.54, 7.94)
CIE-LCHlch(31.41, 19.25, 155.65°)
OKLaboklab(40.24% -0.0484 0.0203)
OKLCHoklch(40.24% 0.053 157.2)
XYZxyz(4.9567, 6.8258, 5.4703)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F513D #512F43
analogous
#32512F #2F513D #2F514E
triadic
#2F513D #3D2F51 #513D2F
tetradic
#2F513D #2F3251 #512F43 #514E2F
square
#2F513D #2F3251 #512F43 #514E2F
split-complementary
#2F513D #4E2F51 #512F32
monochromatic
#0B130F #192A20 #2F513D #45785A #5C9E77

Accessibility & contrast

On white

8.88
#2F513D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F513D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F513D#FFFFFF#000000##FFFFFF
##2F513D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C3C
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#28514B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f513d;
/* rgb */ color: rgb(47, 81, 61);
/* oklch */ color: oklch(40.2% 0.052 157.2);
Tailwind
colors: {
  custom: {
    50: '#698272',
    500: '#2f513d',
    950: '#000000',
  },
}
SCSS
$custom: #2f513d;
$custom-light: #698272;
$custom-dark: #000000;
JSON
{
  "hex": "#2f513d",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 61
  },
  "hsl": {
    "h": 144.706,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40244,
    "c": 0.0525,
    "h": 157.2
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#2F513D
secondary
#825972
accent
#659CC3
background
#F6F7F6
surface
#EBEEEC
border
#C6C9C7
text
#060A08
muted
#7A7C7B

Preview Lab

Preview with #2F513D

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

Preview Lab → · Contrast checker → · Palette generator →

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