#2F7E43#2F7E43

#2F7E43 is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.119 H 149.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F7E43
RGBrgb(47, 126, 67)
HSLhsl(135, 46%, 34%)
HSVhsv(135, 63%, 49%)
CMYKcmyk(62.7%, 0%, 46.8%, 50.6%)
CIE-LABlab(46.88, -37.83, 25.09)
CIE-LCHlch(46.88, 45.39, 146.45°)
OKLaboklab(52.92% -0.1022 0.0615)
OKLCHoklch(52.92% 0.119 149)
XYZxyz(9.6456, 15.9304, 7.8757)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E43 #7E2F6A
analogous
#437E2F #2F7E43 #2F7E6B
triadic
#2F7E43 #432F7E #7E432F
tetradic
#2F7E43 #2F437E #7E2F6A #7E6B2F
square
#2F7E43 #2F437E #7E2F6A #7E6B2F
split-complementary
#2F7E43 #6B2F7E #7E2F43
monochromatic
#0E2514 #1E512B #2F7E43 #40AB5B #63C57C

Accessibility & contrast

On white

5.02
#2F7E43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7E43
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E43#FFFFFF#000000##FFFFFF
##2F7E431.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733E
Deuteranopia (green-blind)
#756C47
Tritanopia (blue-blind)
#197C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e43;
/* rgb */ color: rgb(47, 126, 67);
/* oklch */ color: oklch(52.9% 0.119 149.0);
Tailwind
colors: {
  custom: {
    50: '#70a478',
    500: '#2f7e43',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e43;
$custom-light: #70a478;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e43",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 67
  },
  "hsl": {
    "h": 135.19,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.11931,
    "h": 149
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#2F7E43
secondary
#AC5D98
accent
#52B4D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7E43

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

Preview Lab → · Contrast checker → · Palette generator →

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