#2F6740#2F6740

#2F6740 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.5% C 0.087 H 151.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2F6740
RGBrgb(47, 103, 64)
HSLhsl(138, 37%, 29%)
HSVhsv(138, 54%, 40%)
CMYKcmyk(54.4%, 0%, 37.9%, 59.6%)
CIE-LABlab(39.03, -28.13, 16.53)
CIE-LCHlch(39.03, 32.62, 149.55°)
OKLaboklab(46.46% -0.0764 0.0414)
OKLCHoklch(46.46% 0.087 151.5)
XYZxyz(6.9475, 10.6744, 6.5438)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6740 #672F56
analogous
#3A672F #2F6740 #2F675C
triadic
#2F6740 #402F67 #67402F
tetradic
#2F6740 #2F3A67 #672F56 #675C2F
square
#2F6740 #2F3A67 #672F56 #675C2F
split-complementary
#2F6740 #5C2F67 #672F3A
monochromatic
#0A150D #1C3D26 #2F6740 #42915A #5CB577

Accessibility & contrast

On white

6.70
#2F6740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2F6740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6740
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6740#FFFFFF#000000##FFFFFF
##2F67401.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5F5A42
Tritanopia (blue-blind)
#22665D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6740;
/* rgb */ color: rgb(47, 103, 64);
/* oklch */ color: oklch(46.5% 0.087 151.5);
Tailwind
colors: {
  custom: {
    50: '#6c9375',
    500: '#2f6740',
    950: '#000000',
  },
}
SCSS
$custom: #2f6740;
$custom-light: #6c9375;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6740",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 64
  },
  "hsl": {
    "h": 138.214,
    "s": 37.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.08693,
    "h": 151.5
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#2F6740
secondary
#985985
accent
#5AAACD
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2F6740

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

Preview Lab → · Contrast checker → · Palette generator →

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