#2F7E30#2F7E30

#2F7E30 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.137 H 143.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F7E30
RGBrgb(47, 126, 48)
HSLhsl(121, 46%, 34%)
HSVhsv(121, 63%, 49%)
CMYKcmyk(62.7%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.63, -40.67, 34.73)
CIE-LCHlch(46.63, 53.48, 139.50°)
OKLaboklab(52.63% -0.1104 0.0817)
OKLCHoklch(52.63% 0.137 143.5)
XYZxyz(9.1661, 15.7386, 5.3505)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E30 #7E2F7D
analogous
#567E2F #2F7E30 #2F7E58
triadic
#2F7E30 #302F7E #7E302F
tetradic
#2F7E30 #2F567E #7E2F7D #7E582F
square
#2F7E30 #2F567E #7E2F7D #7E582F
split-complementary
#2F7E30 #582F7E #7E2F56
monochromatic
#0E250E #1E511F #2F7E30 #40AB41 #63C564

Accessibility & contrast

On white

5.06
#2F7E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2F7E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E30
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E30#FFFFFF#000000##FFFFFF
##2F7E301.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817328
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#207A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7e30;
/* rgb */ color: rgb(47, 126, 48);
/* oklch */ color: oklch(52.6% 0.137 143.5);
Tailwind
colors: {
  custom: {
    50: '#71a46b',
    500: '#2f7e30',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e30;
$custom-light: #71a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e30",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 120.759,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.13734,
    "h": 143.5
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#2F7E30
secondary
#AC5DAB
accent
#52D4D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7E30

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

Preview Lab → · Contrast checker → · Palette generator →

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