#2F7638#2F7638

#2F7638 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.119 H 145.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F7638
RGBrgb(47, 118, 56)
HSLhsl(128, 43%, 32%)
HSVhsv(128, 60%, 46%)
CMYKcmyk(60.2%, 0%, 52.5%, 53.7%)
CIE-LABlab(44.01, -36.27, 27.48)
CIE-LCHlch(44.01, 45.50, 142.86°)
OKLaboklab(50.51% -0.0982 0.0664)
OKLCHoklch(50.51% 0.119 145.9)
XYZxyz(8.3640, 13.8460, 5.9724)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7638 #762F6D
analogous
#49762F #2F7638 #2F765C
triadic
#2F7638 #382F76 #76382F
tetradic
#2F7638 #2F4976 #762F6D #765C2F
square
#2F7638 #2F4976 #762F6D #765C2F
split-complementary
#2F7638 #5C2F76 #762F49
monochromatic
#0C1E0E #1E4A23 #2F7638 #40A24D #60C06C

Accessibility & contrast

On white

5.57
#2F7638 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2F7638 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7638
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7638#FFFFFF#000000##FFFFFF
##2F76381.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C33
Deuteranopia (green-blind)
#6E663C
Tritanopia (blue-blind)
#207368
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7638;
/* rgb */ color: rgb(47, 118, 56);
/* oklch */ color: oklch(50.5% 0.119 145.9);
Tailwind
colors: {
  custom: {
    50: '#6f9e70',
    500: '#2f7638',
    950: '#000000',
  },
}
SCSS
$custom: #2f7638;
$custom-light: #6f9e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7638",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 56
  },
  "hsl": {
    "h": 127.606,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50507,
    "c": 0.11857,
    "h": 145.9
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#2F7638
secondary
#A75A9D
accent
#55C3D3
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7638

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

Preview Lab → · Contrast checker → · Palette generator →

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