#2F7136#2F7136

#2F7136 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.113 H 145.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2F7136
RGBrgb(47, 113, 54)
HSLhsl(126, 41%, 31%)
HSVhsv(126, 58%, 44%)
CMYKcmyk(58.4%, 0%, 52.2%, 55.7%)
CIE-LABlab(42.28, -34.45, 26.42)
CIE-LCHlch(42.28, 43.41, 142.52°)
OKLaboklab(49.07% -0.0934 0.0639)
OKLCHoklch(49.07% 0.113 145.6)
XYZxyz(7.7428, 12.6803, 5.5288)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7136 #712F6A
analogous
#49712F #2F7136 #2F7157
triadic
#2F7136 #362F71 #71362F
tetradic
#2F7136 #2F4971 #712F6A #71572F
square
#2F7136 #2F4971 #712F6A #71572F
split-complementary
#2F7136 #572F71 #712F49
monochromatic
#0B1B0D #1D4621 #2F7136 #419C4B #5EBC68

Accessibility & contrast

On white

5.94
#2F7136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2F7136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7136
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7136#FFFFFF#000000##FFFFFF
##2F71361.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736731
Deuteranopia (green-blind)
#6A613A
Tritanopia (blue-blind)
#236E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f7136;
/* rgb */ color: rgb(47, 113, 54);
/* oklch */ color: oklch(49.1% 0.113 145.6);
Tailwind
colors: {
  custom: {
    50: '#6e9a6e',
    500: '#2f7136',
    950: '#000000',
  },
}
SCSS
$custom: #2f7136;
$custom-light: #6e9a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7136",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 54
  },
  "hsl": {
    "h": 126.364,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.11315,
    "h": 145.6
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#2F7136
secondary
#A25A9B
accent
#57C4D1
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7136

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

Preview Lab → · Contrast checker → · Palette generator →

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