#2F7337#2F7337

#2F7337 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.6% C 0.115 H 145.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7337
RGBrgb(47, 115, 55)
HSLhsl(127, 42%, 32%)
HSVhsv(127, 59%, 45%)
CMYKcmyk(59.1%, 0%, 52.2%, 54.9%)
CIE-LABlab(42.97, -35.15, 26.74)
CIE-LCHlch(42.97, 44.16, 142.74°)
OKLaboklab(49.65% -0.0952 0.0647)
OKLCHoklch(49.65% 0.115 145.8)
XYZxyz(7.9921, 13.1409, 5.7290)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7337 #732F6B
analogous
#49732F #2F7337 #2F7359
triadic
#2F7337 #372F73 #73372F
tetradic
#2F7337 #2F4973 #732F6B #73592F
square
#2F7337 #2F4973 #732F6B #73592F
split-complementary
#2F7337 #592F73 #732F49
monochromatic
#0B1C0D #1D4822 #2F7337 #419E4C #5FBE6A

Accessibility & contrast

On white

5.79
#2F7337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F7337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7337
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7337#FFFFFF#000000##FFFFFF
##2F73371.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756932
Deuteranopia (green-blind)
#6C633B
Tritanopia (blue-blind)
#227065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7337;
/* rgb */ color: rgb(47, 115, 55);
/* oklch */ color: oklch(49.6% 0.115 145.8);
Tailwind
colors: {
  custom: {
    50: '#6f9c6f',
    500: '#2f7337',
    950: '#000000',
  },
}
SCSS
$custom: #2f7337;
$custom-light: #6f9c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7337",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 55
  },
  "hsl": {
    "h": 127.059,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4965,
    "c": 0.11512,
    "h": 145.8
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#2F7337
secondary
#A45A9B
accent
#56C3D2
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7337

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

Preview Lab → · Contrast checker → · Palette generator →

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