#2F6840#2F6840

#2F6840 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.7% C 0.089 H 151.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2F6840
RGBrgb(47, 104, 64)
HSLhsl(138, 38%, 30%)
HSVhsv(138, 55%, 41%)
CMYKcmyk(54.8%, 0%, 38.5%, 59.2%)
CIE-LABlab(39.37, -28.60, 16.99)
CIE-LCHlch(39.37, 33.27, 149.29°)
OKLaboklab(46.74% -0.0777 0.0425)
OKLCHoklch(46.74% 0.089 151.3)
XYZxyz(7.0475, 10.8745, 6.5771)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6840 #682F57
analogous
#3B682F #2F6840 #2F685D
triadic
#2F6840 #402F68 #68402F
tetradic
#2F6840 #2F3B68 #682F57 #685D2F
square
#2F6840 #2F3B68 #682F57 #685D2F
split-complementary
#2F6840 #5D2F68 #682F3B
monochromatic
#0A150D #1C3E26 #2F6840 #42925A #5CB577

Accessibility & contrast

On white

6.61
#2F6840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2F6840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6840
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6840#FFFFFF#000000##FFFFFF
##2F68401.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#605B42
Tritanopia (blue-blind)
#22665E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6840;
/* rgb */ color: rgb(47, 104, 64);
/* oklch */ color: oklch(46.7% 0.089 151.3);
Tailwind
colors: {
  custom: {
    50: '#6c9375',
    500: '#2f6840',
    950: '#000000',
  },
}
SCSS
$custom: #2f6840;
$custom-light: #6c9375;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6840",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 137.895,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.08855,
    "h": 151.3
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#2F6840
secondary
#995986
accent
#5AABCE
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2F6840

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

Preview Lab → · Contrast checker → · Palette generator →

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