#2F7D4E#2F7D4E

#2F7D4E is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.9% C 0.107 H 153.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F7D4E
RGBrgb(47, 125, 78)
HSLhsl(144, 45%, 34%)
HSVhsv(144, 62%, 49%)
CMYKcmyk(62.4%, 0%, 37.6%, 51%)
CIE-LABlab(46.74, -35.33, 18.73)
CIE-LCHlch(46.74, 39.98, 152.07°)
OKLaboklab(52.87% -0.0958 0.0469)
OKLCHoklch(52.87% 0.107 153.9)
XYZxyz(9.8802, 15.8207, 9.7393)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D4E #7D2F5E
analogous
#377D2F #2F7D4E #2F7D75
triadic
#2F7D4E #4E2F7D #7D4E2F
tetradic
#2F7D4E #2F377D #7D2F5E #7D752F
square
#2F7D4E #2F377D #7D2F5E #7D752F
split-complementary
#2F7D4E #752F7D #7D2F37
monochromatic
#0E2416 #1E5132 #2F7D4E #40A96A #62C489

Accessibility & contrast

On white

5.04
#2F7D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F7D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D4E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D4E#FFFFFF#000000##FFFFFF
##2F7D4E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#726C51
Tritanopia (blue-blind)
#137C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7d4e;
/* rgb */ color: rgb(47, 125, 78);
/* oklch */ color: oklch(52.9% 0.107 153.9);
Tailwind
colors: {
  custom: {
    50: '#70a380',
    500: '#2f7d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d4e;
$custom-light: #70a380;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d4e",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 143.846,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.10666,
    "h": 153.9
  },
  "luminance": 0.15822
}

Semantic roles & 50–950 ramp

primary
#2F7D4E
secondary
#AB5D8C
accent
#53A1D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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