#2F6940#2F6940

#2F6940 is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.090 H 151.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2F6940
RGBrgb(47, 105, 64)
HSLhsl(138, 38%, 30%)
HSVhsv(138, 55%, 41%)
CMYKcmyk(55.2%, 0%, 39%, 58.8%)
CIE-LABlab(39.71, -29.07, 17.44)
CIE-LCHlch(39.71, 33.90, 149.03°)
OKLaboklab(47.02% -0.0789 0.0436)
OKLCHoklch(47.02% 0.09 151.1)
XYZxyz(7.1488, 11.0771, 6.6109)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6940 #692F58
analogous
#3B692F #2F6940 #2F695D
triadic
#2F6940 #402F69 #69402F
tetradic
#2F6940 #2F3B69 #692F58 #695D2F
square
#2F6940 #2F3B69 #692F58 #695D2F
split-complementary
#2F6940 #5D2F69 #692F3B
monochromatic
#09150D #1C3F26 #2F6940 #42935A #5CB677

Accessibility & contrast

On white

6.53
#2F6940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2F6940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6940
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6940#FFFFFF#000000##FFFFFF
##2F69401.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#22675F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f6940;
/* rgb */ color: rgb(47, 105, 64);
/* oklch */ color: oklch(47.0% 0.090 151.1);
Tailwind
colors: {
  custom: {
    50: '#6c9475',
    500: '#2f6940',
    950: '#000000',
  },
}
SCSS
$custom: #2f6940;
$custom-light: #6c9475;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6940",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 137.586,
    "s": 38.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.09017,
    "h": 151.1
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#2F6940
secondary
#9A5987
accent
#5AACCE
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2F6940

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

Preview Lab → · Contrast checker → · Palette generator →

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