#2F7D36#2F7D36

#2F7D36 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.131 H 145.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F7D36
RGBrgb(47, 125, 54)
HSLhsl(125, 45%, 34%)
HSVhsv(125, 62%, 49%)
CMYKcmyk(62.4%, 0%, 56.8%, 51%)
CIE-LABlab(46.36, -39.47, 31.39)
CIE-LCHlch(46.36, 50.43, 141.50°)
OKLaboklab(52.43% -0.1069 0.0749)
OKLCHoklch(52.43% 0.131 145)
XYZxyz(9.1712, 15.5370, 6.0050)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D36 #7D2F76
analogous
#4F7D2F #2F7D36 #2F7D5D
triadic
#2F7D36 #362F7D #7D362F
tetradic
#2F7D36 #2F4F7D #7D2F76 #7D5D2F
square
#2F7D36 #2F4F7D #7D2F76 #7D5D2F
split-complementary
#2F7D36 #5D2F7D #7D2F4F
monochromatic
#0E2410 #1E5123 #2F7D36 #40A949 #62C46B

Accessibility & contrast

On white

5.11
#2F7D36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F7D36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D36
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D36#FFFFFF#000000##FFFFFF
##2F7D361.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722F
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#1F7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7d36;
/* rgb */ color: rgb(47, 125, 54);
/* oklch */ color: oklch(52.4% 0.131 145.0);
Tailwind
colors: {
  custom: {
    50: '#71a36f',
    500: '#2f7d36',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d36;
$custom-light: #71a36f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d36",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 125.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.13056,
    "h": 145
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#2F7D36
secondary
#AB5DA4
accent
#53C9D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7D36

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

Preview Lab → · Contrast checker → · Palette generator →

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