#2F511E#2F511E

#2F511E is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.088 H 136.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2F511E
RGBrgb(47, 81, 30)
HSLhsl(100, 46%, 22%)
HSVhsv(100, 63%, 32%)
CMYKcmyk(42%, 0%, 63%, 68.2%)
CIE-LABlab(30.84, -23.05, 25.71)
CIE-LCHlch(30.84, 34.53, 131.88°)
OKLaboklab(39.59% -0.0637 0.0605)
OKLCHoklch(39.59% 0.088 136.5)
XYZxyz(4.3489, 6.5827, 2.2695)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F511E #401E51
analogous
#49511E #2F511E #1E5127
triadic
#2F511E #1E2F51 #511E2F
tetradic
#2F511E #1E4951 #401E51 #51271E
square
#2F511E #1E4951 #401E51 #51271E
split-complementary
#2F511E #271E51 #511E49
monochromatic
#0D1608 #15240D #2F511E #497E2F #63AA3F

Accessibility & contrast

On white

9.07
#2F511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F511E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F511E#FFFFFF#000000##FFFFFF
##2F511E1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A19
Deuteranopia (green-blind)
#4F4822
Tritanopia (blue-blind)
#2E4E46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f511e;
/* rgb */ color: rgb(47, 81, 30);
/* oklch */ color: oklch(39.6% 0.088 136.5);
Tailwind
colors: {
  custom: {
    50: '#6a825c',
    500: '#2f511e',
    950: '#000000',
  },
}
SCSS
$custom: #2f511e;
$custom-light: #6a825c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f511e",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 100,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39594,
    "c": 0.08781,
    "h": 136.5
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#2F511E
secondary
#704586
accent
#52D6AA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #2F511E

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

Preview Lab → · Contrast checker → · Palette generator →

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