#2F7445#2F7445

#2F7445 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.2% C 0.102 H 151.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F7445
RGBrgb(47, 116, 69)
HSLhsl(139, 42%, 32%)
HSVhsv(139, 59%, 45%)
CMYKcmyk(59.5%, 0%, 40.5%, 54.5%)
CIE-LABlab(43.54, -33.13, 19.62)
CIE-LCHlch(43.54, 38.51, 149.36°)
OKLaboklab(50.19% -0.0898 0.0489)
OKLCHoklch(50.19% 0.102 151.4)
XYZxyz(8.4912, 13.5240, 7.7920)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7445 #742F5E
analogous
#3C742F #2F7445 #2F7468
triadic
#2F7445 #452F74 #74452F
tetradic
#2F7445 #2F3C74 #742F5E #74682F
square
#2F7445 #2F3C74 #742F5E #74682F
split-complementary
#2F7445 #682F74 #742F3C
monochromatic
#0C1D11 #1D482B #2F7445 #41A05F #5FBE7D

Accessibility & contrast

On white

5.67
#2F7445 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2F7445 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7445
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7445#FFFFFF#000000##FFFFFF
##2F74451.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746B42
Deuteranopia (green-blind)
#6B6448
Tritanopia (blue-blind)
#1C7268
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7445;
/* rgb */ color: rgb(47, 116, 69);
/* oklch */ color: oklch(50.2% 0.102 151.4);
Tailwind
colors: {
  custom: {
    50: '#6e9d79',
    500: '#2f7445',
    950: '#000000',
  },
}
SCSS
$custom: #2f7445;
$custom-light: #6e9d79;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7445",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 69
  },
  "hsl": {
    "h": 139.13,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.10221,
    "h": 151.4
  },
  "luminance": 0.13525
}

Semantic roles & 50–950 ramp

primary
#2F7445
secondary
#A55A8D
accent
#56AAD2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #2F7445

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

Preview Lab → · Contrast checker → · Palette generator →

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