#2F7E4F#2F7E4F

#2F7E4F is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.2% C 0.107 H 154.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F7E4F
RGBrgb(47, 126, 79)
HSLhsl(144, 46%, 34%)
HSVhsv(144, 63%, 49%)
CMYKcmyk(62.7%, 0%, 37.3%, 50.6%)
CIE-LABlab(47.09, -35.56, 18.63)
CIE-LCHlch(47.09, 40.15, 152.35°)
OKLaboklab(53.16% -0.0964 0.0467)
OKLCHoklch(53.16% 0.107 154.2)
XYZxyz(10.0436, 16.0896, 9.9719)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E4F #7E2F5E
analogous
#377E2F #2F7E4F #2F7E77
triadic
#2F7E4F #4F2F7E #7E4F2F
tetradic
#2F7E4F #2F377E #7E2F5E #7E772F
square
#2F7E4F #2F377E #7E2F5E #7E772F
split-complementary
#2F7E4F #772F7E #7E2F37
monochromatic
#0E2517 #1E5133 #2F7E4F #40AB6B #63C58A

Accessibility & contrast

On white

4.98
#2F7E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F7E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E4F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E4F#FFFFFF#000000##FFFFFF
##2F7E4F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#736D52
Tritanopia (blue-blind)
#117D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7e4f;
/* rgb */ color: rgb(47, 126, 79);
/* oklch */ color: oklch(53.2% 0.107 154.2);
Tailwind
colors: {
  custom: {
    50: '#70a480',
    500: '#2f7e4f',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e4f;
$custom-light: #70a480;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e4f",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 79
  },
  "hsl": {
    "h": 144.304,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.10715,
    "h": 154.2
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#2F7E4F
secondary
#AC5D8C
accent
#52A0D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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