#2F7437#2F7437

#2F7437 is a mid, moderate green. Relative luminance 0.134; OKLCH L 49.9% C 0.117 H 145.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2F7437
RGBrgb(47, 116, 55)
HSLhsl(127, 42%, 32%)
HSVhsv(127, 59%, 45%)
CMYKcmyk(59.5%, 0%, 52.6%, 54.5%)
CIE-LABlab(43.32, -35.58, 27.16)
CIE-LCHlch(43.32, 44.76, 142.64°)
OKLaboklab(49.93% -0.0964 0.0656)
OKLCHoklch(49.93% 0.117 145.7)
XYZxyz(8.1068, 13.3702, 5.7672)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7437 #742F6C
analogous
#4A742F #2F7437 #2F745A
triadic
#2F7437 #372F74 #74372F
tetradic
#2F7437 #2F4A74 #742F6C #745A2F
square
#2F7437 #2F4A74 #742F6C #745A2F
split-complementary
#2F7437 #5A2F74 #742F4A
monochromatic
#0C1D0E #1D4822 #2F7437 #41A04C #5FBE6A

Accessibility & contrast

On white

5.72
#2F7437 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F7437 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7437
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7437#FFFFFF#000000##FFFFFF
##2F74371.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A32
Deuteranopia (green-blind)
#6D643B
Tritanopia (blue-blind)
#217166
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7437;
/* rgb */ color: rgb(47, 116, 55);
/* oklch */ color: oklch(49.9% 0.117 145.7);
Tailwind
colors: {
  custom: {
    50: '#6f9d6f',
    500: '#2f7437',
    950: '#000000',
  },
}
SCSS
$custom: #2f7437;
$custom-light: #6f9d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7437",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 55
  },
  "hsl": {
    "h": 126.957,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.11661,
    "h": 145.7
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#2F7437
secondary
#A55A9C
accent
#56C4D2
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7437

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

Preview Lab → · Contrast checker → · Palette generator →

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