#2F7740#2F7740

#2F7740 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.112 H 148.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2F7740
RGBrgb(47, 119, 64)
HSLhsl(134, 43%, 33%)
HSVhsv(134, 61%, 47%)
CMYKcmyk(60.5%, 0%, 46.2%, 53.3%)
CIE-LABlab(44.47, -35.37, 23.66)
CIE-LCHlch(44.47, 42.56, 146.22°)
OKLaboklab(50.93% -0.0957 0.0581)
OKLCHoklch(50.93% 0.112 148.7)
XYZxyz(8.6939, 14.1674, 7.1259)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7740 #772F66
analogous
#42772F #2F7740 #2F7764
triadic
#2F7740 #402F77 #77402F
tetradic
#2F7740 #2F4277 #772F66 #77642F
square
#2F7740 #2F4277 #772F66 #77642F
split-complementary
#2F7740 #642F77 #772F42
monochromatic
#0C1F11 #1E4B28 #2F7740 #40A358 #60C077

Accessibility & contrast

On white

5.48
#2F7740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2F7740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7740
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7740#FFFFFF#000000##FFFFFF
##2F77401.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#1D756A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f7740;
/* rgb */ color: rgb(47, 119, 64);
/* oklch */ color: oklch(50.9% 0.112 148.7);
Tailwind
colors: {
  custom: {
    50: '#6f9f75',
    500: '#2f7740',
    950: '#000000',
  },
}
SCSS
$custom: #2f7740;
$custom-light: #6f9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7740",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 64
  },
  "hsl": {
    "h": 134.167,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50925,
    "c": 0.11196,
    "h": 148.7
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#2F7740
secondary
#A75B95
accent
#55B5D3
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #2F7740

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

Preview Lab → · Contrast checker → · Palette generator →

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