#2F7440#2F7440

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

Color values

HEX#2F7440
RGBrgb(47, 116, 64)
HSLhsl(135, 42%, 32%)
HSVhsv(135, 59%, 45%)
CMYKcmyk(59.5%, 0%, 44.8%, 54.5%)
CIE-LABlab(43.45, -34.07, 22.35)
CIE-LCHlch(43.45, 40.75, 146.73°)
OKLaboklab(50.09% -0.0922 0.0551)
OKLCHoklch(50.09% 0.107 149.1)
XYZxyz(8.3425, 13.4645, 7.0088)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7440 #742F63
analogous
#41742F #2F7440 #2F7463
triadic
#2F7440 #402F74 #74402F
tetradic
#2F7440 #2F4174 #742F63 #74632F
square
#2F7440 #2F4174 #742F63 #74632F
split-complementary
#2F7440 #632F74 #742F41
monochromatic
#0C1D10 #1D4828 #2F7440 #41A058 #5FBE77

Accessibility & contrast

On white

5.69
#2F7440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F7440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7440
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7440#FFFFFF#000000##FFFFFF
##2F74401.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#6C6443
Tritanopia (blue-blind)
#1E7267
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7440;
/* rgb */ color: rgb(47, 116, 64);
/* oklch */ color: oklch(50.1% 0.107 149.1);
Tailwind
colors: {
  custom: {
    50: '#6e9d75',
    500: '#2f7440',
    950: '#000000',
  },
}
SCSS
$custom: #2f7440;
$custom-light: #6e9d75;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7440",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 64
  },
  "hsl": {
    "h": 134.783,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5009,
    "c": 0.10741,
    "h": 149.1
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#2F7440
secondary
#A55A93
accent
#56B3D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #2F7440

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

Preview Lab → · Contrast checker → · Palette generator →

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