#2F7E45#2F7E45

#2F7E45 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.117 H 149.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F7E45
RGBrgb(47, 126, 69)
HSLhsl(137, 46%, 34%)
HSVhsv(137, 63%, 49%)
CMYKcmyk(62.7%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.92, -37.47, 24.02)
CIE-LCHlch(46.92, 44.51, 147.34°)
OKLaboklab(52.96% -0.1013 0.0592)
OKLCHoklch(52.96% 0.117 149.7)
XYZxyz(9.7066, 15.9548, 8.1971)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E45 #7E2F68
analogous
#417E2F #2F7E45 #2F7E6D
triadic
#2F7E45 #452F7E #7E452F
tetradic
#2F7E45 #2F417E #7E2F68 #7E6D2F
square
#2F7E45 #2F417E #7E2F68 #7E6D2F
split-complementary
#2F7E45 #6D2F7E #7E2F41
monochromatic
#0E2514 #1E512D #2F7E45 #40AB5D #63C57E

Accessibility & contrast

On white

5.01
#2F7E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2F7E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E45
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E45#FFFFFF#000000##FFFFFF
##2F7E451.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#756C49
Tritanopia (blue-blind)
#187C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e45;
/* rgb */ color: rgb(47, 126, 69);
/* oklch */ color: oklch(53.0% 0.117 149.7);
Tailwind
colors: {
  custom: {
    50: '#70a479',
    500: '#2f7e45',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e45;
$custom-light: #70a479;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e45",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 136.709,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.11729,
    "h": 149.7
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#2F7E45
secondary
#AC5D96
accent
#52B1D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7E45

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

Preview Lab → · Contrast checker → · Palette generator →

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