#2F7843#2F7843

#2F7843 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.3% C 0.110 H 149.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2F7843
RGBrgb(47, 120, 67)
HSLhsl(136, 44%, 33%)
HSVhsv(136, 61%, 47%)
CMYKcmyk(60.8%, 0%, 44.2%, 52.9%)
CIE-LABlab(44.86, -35.27, 22.48)
CIE-LCHlch(44.86, 41.83, 147.48°)
OKLaboklab(51.26% -0.0954 0.0555)
OKLCHoklch(51.26% 0.11 149.8)
XYZxyz(8.9012, 14.4417, 7.6275)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7843 #782F64
analogous
#40782F #2F7843 #2F7867
triadic
#2F7843 #432F78 #78432F
tetradic
#2F7843 #2F4078 #782F64 #78672F
square
#2F7843 #2F4078 #782F64 #78672F
split-complementary
#2F7843 #672F78 #782F40
monochromatic
#0D2012 #1E4C2A #2F7843 #40A45C #60C17B

Accessibility & contrast

On white

5.40
#2F7843 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2F7843 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7843
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7843#FFFFFF#000000##FFFFFF
##2F78431.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3F
Deuteranopia (green-blind)
#6F6746
Tritanopia (blue-blind)
#1B766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7843;
/* rgb */ color: rgb(47, 120, 67);
/* oklch */ color: oklch(51.3% 0.110 149.8);
Tailwind
colors: {
  custom: {
    50: '#6fa078',
    500: '#2f7843',
    950: '#000000',
  },
}
SCSS
$custom: #2f7843;
$custom-light: #6fa078;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7843",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 67
  },
  "hsl": {
    "h": 136.438,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.11038,
    "h": 149.8
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#2F7843
secondary
#A85B93
accent
#54B1D3
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2F7843

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

Preview Lab → · Contrast checker → · Palette generator →

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