#2F7130#2F7130

#2F7130 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.119 H 143.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2F7130
RGBrgb(47, 113, 48)
HSLhsl(121, 41%, 31%)
HSVhsv(121, 58%, 44%)
CMYKcmyk(58.4%, 0%, 57.5%, 55.7%)
CIE-LABlab(42.20, -35.34, 29.53)
CIE-LCHlch(42.20, 46.05, 140.12°)
OKLaboklab(48.98% -0.096 0.0704)
OKLCHoklch(48.98% 0.119 143.7)
XYZxyz(7.6105, 12.6273, 4.8320)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7130 #712F70
analogous
#4F712F #2F7130 #2F7151
triadic
#2F7130 #302F71 #71302F
tetradic
#2F7130 #2F4F71 #712F70 #71512F
square
#2F7130 #2F4F71 #712F70 #71512F
split-complementary
#2F7130 #512F71 #712F4F
monochromatic
#0B1B0B #1D461E #2F7130 #419C42 #5EBC60

Accessibility & contrast

On white

5.96
#2F7130 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2F7130 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7130
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7130#FFFFFF#000000##FFFFFF
##2F71301.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672A
Deuteranopia (green-blind)
#6B6135
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f7130;
/* rgb */ color: rgb(47, 113, 48);
/* oklch */ color: oklch(49.0% 0.119 143.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a6a',
    500: '#2f7130',
    950: '#000000',
  },
}
SCSS
$custom: #2f7130;
$custom-light: #6e9a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7130",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 48
  },
  "hsl": {
    "h": 120.909,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.11905,
    "h": 143.7
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#2F7130
secondary
#A25AA1
accent
#57CFD1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7130

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

Preview Lab → · Contrast checker → · Palette generator →

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