#2F7442#2F7442

#2F7442 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.1% C 0.105 H 150.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F7442
RGBrgb(47, 116, 66)
HSLhsl(137, 42%, 32%)
HSVhsv(137, 59%, 45%)
CMYKcmyk(59.5%, 0%, 43.1%, 54.5%)
CIE-LABlab(43.49, -33.70, 21.27)
CIE-LCHlch(43.49, 39.85, 147.74°)
OKLaboklab(50.13% -0.0912 0.0527)
OKLCHoklch(50.13% 0.105 150)
XYZxyz(8.4005, 13.4877, 7.3139)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7442 #742F61
analogous
#3F742F #2F7442 #2F7465
triadic
#2F7442 #422F74 #74422F
tetradic
#2F7442 #2F3F74 #742F61 #74652F
square
#2F7442 #2F3F74 #742F61 #74652F
split-complementary
#2F7442 #652F74 #742F3F
monochromatic
#0C1D10 #1D4829 #2F7442 #41A05B #5FBE79

Accessibility & contrast

On white

5.68
#2F7442 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F7442 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7442
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7442#FFFFFF#000000##FFFFFF
##2F74421.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#6B6445
Tritanopia (blue-blind)
#1D7268
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7442;
/* rgb */ color: rgb(47, 116, 66);
/* oklch */ color: oklch(50.1% 0.105 150.0);
Tailwind
colors: {
  custom: {
    50: '#6e9d77',
    500: '#2f7442',
    950: '#000000',
  },
}
SCSS
$custom: #2f7442;
$custom-light: #6e9d77;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7442",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 66
  },
  "hsl": {
    "h": 136.522,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.10533,
    "h": 150
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#2F7442
secondary
#A55A90
accent
#56B0D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #2F7442

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

Preview Lab → · Contrast checker → · Palette generator →

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