#2F7752#2F7752

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

Color values

HEX#2F7752
RGBrgb(47, 119, 82)
HSLhsl(149, 43%, 33%)
HSVhsv(149, 61%, 47%)
CMYKcmyk(60.5%, 0%, 31.1%, 53.3%)
CIE-LABlab(44.81, -31.78, 13.80)
CIE-LCHlch(44.81, 34.65, 156.53°)
OKLaboklab(51.31% -0.0868 0.035)
OKLCHoklch(51.31% 0.094 158)
XYZxyz(9.2913, 14.4063, 10.2721)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7752 #772F54
analogous
#30772F #2F7752 #2F7776
triadic
#2F7752 #522F77 #77522F
tetradic
#2F7752 #2F3077 #772F54 #77762F
square
#2F7752 #2F3077 #772F54 #77762F
split-complementary
#2F7752 #762F77 #772F30
monochromatic
#0C1F16 #1E4B34 #2F7752 #40A370 #60C08F

Accessibility & contrast

On white

5.41
#2F7752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2F7752 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7752
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7752#FFFFFF#000000##FFFFFF
##2F77521.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E50
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#13766D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7752;
/* rgb */ color: rgb(47, 119, 82);
/* oklch */ color: oklch(51.3% 0.094 158.0);
Tailwind
colors: {
  custom: {
    50: '#6f9f82',
    500: '#2f7752',
    950: '#000000',
  },
}
SCSS
$custom: #2f7752;
$custom-light: #6f9f82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7752",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 82
  },
  "hsl": {
    "h": 149.167,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.09359,
    "h": 158
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#2F7752
secondary
#A75B82
accent
#5596D3
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F7752

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

Preview Lab → · Contrast checker → · Palette generator →

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