#2F6340#2F6340

#2F6340 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.3% C 0.080 H 152.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2F6340
RGBrgb(47, 99, 64)
HSLhsl(140, 36%, 29%)
HSVhsv(140, 53%, 39%)
CMYKcmyk(52.5%, 0%, 35.4%, 61.2%)
CIE-LABlab(37.66, -26.20, 14.69)
CIE-LCHlch(37.66, 30.04, 150.71°)
OKLaboklab(45.35% -0.0713 0.037)
OKLCHoklch(45.35% 0.08 152.6)
XYZxyz(6.5591, 9.8977, 6.4143)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6340 #632F52
analogous
#38632F #2F6340 #2F635A
triadic
#2F6340 #402F63 #63402F
tetradic
#2F6340 #2F3863 #632F52 #635A2F
square
#2F6340 #2F3863 #632F52 #635A2F
split-complementary
#2F6340 #5A2F63 #632F38
monochromatic
#0A150D #1B3925 #2F6340 #438C5B #5BB177

Accessibility & contrast

On white

7.05
#2F6340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2F6340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6340
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6340#FFFFFF#000000##FFFFFF
##2F63401.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C3E
Deuteranopia (green-blind)
#5C5742
Tritanopia (blue-blind)
#23625A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6340;
/* rgb */ color: rgb(47, 99, 64);
/* oklch */ color: oklch(45.3% 0.080 152.6);
Tailwind
colors: {
  custom: {
    50: '#6b9075',
    500: '#2f6340',
    950: '#000000',
  },
}
SCSS
$custom: #2f6340;
$custom-light: #6b9075;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6340",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 64
  },
  "hsl": {
    "h": 139.615,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.45345,
    "c": 0.08036,
    "h": 152.6
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#2F6340
secondary
#955981
accent
#5CA7CC
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2F6340

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

Preview Lab → · Contrast checker → · Palette generator →

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