#2F7E37#2F7E37

#2F7E37 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.131 H 145.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F7E37
RGBrgb(47, 126, 55)
HSLhsl(126, 46%, 34%)
HSVhsv(126, 63%, 49%)
CMYKcmyk(62.7%, 0%, 56.3%, 50.6%)
CIE-LABlab(46.71, -39.73, 31.30)
CIE-LCHlch(46.71, 50.57, 141.77°)
OKLaboklab(52.73% -0.1076 0.0748)
OKLCHoklch(52.73% 0.131 145.2)
XYZxyz(9.3222, 15.8010, 6.1723)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E37 #7E2F76
analogous
#4F7E2F #2F7E37 #2F7E5F
triadic
#2F7E37 #372F7E #7E372F
tetradic
#2F7E37 #2F4F7E #7E2F76 #7E5F2F
square
#2F7E37 #2F4F7E #7E2F76 #7E5F2F
split-complementary
#2F7E37 #5F2F7E #7E2F4F
monochromatic
#0E2510 #1E5124 #2F7E37 #40AB4A #63C56D

Accessibility & contrast

On white

5.05
#2F7E37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F7E37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E37
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E37#FFFFFF#000000##FFFFFF
##2F7E371.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807330
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#1E7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e37;
/* rgb */ color: rgb(47, 126, 55);
/* oklch */ color: oklch(52.7% 0.131 145.2);
Tailwind
colors: {
  custom: {
    50: '#71a470',
    500: '#2f7e37',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e37;
$custom-light: #71a470;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e37",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 55
  },
  "hsl": {
    "h": 126.076,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.13103,
    "h": 145.2
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#2F7E37
secondary
#AC5DA4
accent
#52C8D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7E37

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

Preview Lab → · Contrast checker → · Palette generator →

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