#2F7B44#2F7B44

#2F7B44 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.114 H 149.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F7B44
RGBrgb(47, 123, 68)
HSLhsl(137, 45%, 33%)
HSVhsv(137, 62%, 48%)
CMYKcmyk(61.8%, 0%, 44.7%, 51.8%)
CIE-LABlab(45.89, -36.38, 23.26)
CIE-LCHlch(45.89, 43.18, 147.41°)
OKLaboklab(52.11% -0.0984 0.0574)
OKLCHoklch(52.11% 0.114 149.8)
XYZxyz(9.2980, 15.1867, 7.9091)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B44 #7B2F66
analogous
#407B2F #2F7B44 #2F7B6A
triadic
#2F7B44 #442F7B #7B442F
tetradic
#2F7B44 #2F407B #7B2F66 #7B6A2F
square
#2F7B44 #2F407B #7B2F66 #7B6A2F
split-complementary
#2F7B44 #6A2F7B #7B2F40
monochromatic
#0D2213 #1E4F2C #2F7B44 #40A75C #62C37C

Accessibility & contrast

On white

5.20
#2F7B44 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F7B44 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B44
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B44#FFFFFF#000000##FFFFFF
##2F7B441.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7140
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#1A796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7b44;
/* rgb */ color: rgb(47, 123, 68);
/* oklch */ color: oklch(52.1% 0.114 149.8);
Tailwind
colors: {
  custom: {
    50: '#70a278',
    500: '#2f7b44',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b44;
$custom-light: #70a278;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b44",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 68
  },
  "hsl": {
    "h": 136.579,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.11386,
    "h": 149.8
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#2F7B44
secondary
#AA5C94
accent
#53B1D4
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7B44

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

Preview Lab → · Contrast checker → · Palette generator →

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