#2F7348#2F7348

#2F7348 is a mid, moderate green. Relative luminance 0.133; OKLCH L 50.0% C 0.098 H 153.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7348
RGBrgb(47, 115, 72)
HSLhsl(142, 42%, 32%)
HSVhsv(142, 59%, 45%)
CMYKcmyk(59.1%, 0%, 37.4%, 54.9%)
CIE-LABlab(43.26, -32.08, 17.52)
CIE-LCHlch(43.26, 36.55, 151.36°)
OKLaboklab(49.98% -0.0871 0.0439)
OKLCHoklch(49.98% 0.098 153.2)
XYZxyz(8.4721, 13.3329, 8.2567)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7348 #732F5A
analogous
#38732F #2F7348 #2F736A
triadic
#2F7348 #482F73 #73482F
tetradic
#2F7348 #2F3873 #732F5A #736A2F
square
#2F7348 #2F3873 #732F5A #736A2F
split-complementary
#2F7348 #6A2F73 #732F38
monochromatic
#0B1C12 #1D482D #2F7348 #419E63 #5FBE82

Accessibility & contrast

On white

5.73
#2F7348 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F7348 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7348
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7348#FFFFFF#000000##FFFFFF
##2F73481.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736A45
Deuteranopia (green-blind)
#6A644B
Tritanopia (blue-blind)
#1B7268
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7348;
/* rgb */ color: rgb(47, 115, 72);
/* oklch */ color: oklch(50.0% 0.098 153.2);
Tailwind
colors: {
  custom: {
    50: '#6e9c7b',
    500: '#2f7348',
    950: '#000000',
  },
}
SCSS
$custom: #2f7348;
$custom-light: #6e9c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7348",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 72
  },
  "hsl": {
    "h": 142.059,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49978,
    "c": 0.09753,
    "h": 153.2
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#2F7348
secondary
#A45A89
accent
#56A4D2
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #2F7348

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

Preview Lab → · Contrast checker → · Palette generator →

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