#2F7145#2F7145

#2F7145 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.4% C 0.098 H 152.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2F7145
RGBrgb(47, 113, 69)
HSLhsl(140, 41%, 31%)
HSVhsv(140, 58%, 44%)
CMYKcmyk(58.4%, 0%, 38.9%, 55.7%)
CIE-LABlab(42.53, -31.78, 18.28)
CIE-LCHlch(42.53, 36.66, 150.09°)
OKLaboklab(49.36% -0.0862 0.0457)
OKLCHoklch(49.36% 0.098 152.1)
XYZxyz(8.1510, 12.8435, 7.6786)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7145 #712F5B
analogous
#3A712F #2F7145 #2F7166
triadic
#2F7145 #452F71 #71452F
tetradic
#2F7145 #2F3A71 #712F5B #71662F
square
#2F7145 #2F3A71 #712F5B #71662F
split-complementary
#2F7145 #662F71 #712F3A
monochromatic
#0B1B10 #1D462B #2F7145 #419C5F #5EBC7E

Accessibility & contrast

On white

5.88
#2F7145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2F7145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7145
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7145#FFFFFF#000000##FFFFFF
##2F71451.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#1D6F66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f7145;
/* rgb */ color: rgb(47, 113, 69);
/* oklch */ color: oklch(49.4% 0.098 152.1);
Tailwind
colors: {
  custom: {
    50: '#6e9a79',
    500: '#2f7145',
    950: '#000000',
  },
}
SCSS
$custom: #2f7145;
$custom-light: #6e9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7145",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 140,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.09755,
    "h": 152.1
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#2F7145
secondary
#A25A8A
accent
#57A8D1
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2F7145

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

Preview Lab → · Contrast checker → · Palette generator →

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