#2F7745#2F7745

#2F7745 is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.0% C 0.107 H 150.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2F7745
RGBrgb(47, 119, 69)
HSLhsl(138, 43%, 33%)
HSVhsv(138, 61%, 47%)
CMYKcmyk(60.5%, 0%, 42%, 53.3%)
CIE-LABlab(44.56, -34.46, 20.96)
CIE-LCHlch(44.56, 40.33, 148.69°)
OKLaboklab(51.02% -0.0933 0.052)
OKLCHoklch(51.02% 0.107 150.9)
XYZxyz(8.8426, 14.2268, 7.9091)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7745 #772F61
analogous
#3D772F #2F7745 #2F7769
triadic
#2F7745 #452F77 #77452F
tetradic
#2F7745 #2F3D77 #772F61 #77692F
square
#2F7745 #2F3D77 #772F61 #77692F
split-complementary
#2F7745 #692F77 #772F3D
monochromatic
#0C1F12 #1E4B2C #2F7745 #40A35E #60C07E

Accessibility & contrast

On white

5.46
#2F7745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2F7745 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7745
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7745#FFFFFF#000000##FFFFFF
##2F77451.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D41
Deuteranopia (green-blind)
#6E6748
Tritanopia (blue-blind)
#1B756B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f7745;
/* rgb */ color: rgb(47, 119, 69);
/* oklch */ color: oklch(51.0% 0.107 150.9);
Tailwind
colors: {
  custom: {
    50: '#6f9f79',
    500: '#2f7745',
    950: '#000000',
  },
}
SCSS
$custom: #2f7745;
$custom-light: #6f9f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7745",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 69
  },
  "hsl": {
    "h": 138.333,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.1068,
    "h": 150.9
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#2F7745
secondary
#A75B90
accent
#55ACD3
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #2F7745

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

Preview Lab → · Contrast checker → · Palette generator →

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