#2F7E2E#2F7E2E

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

Color values

HEX#2F7E2E
RGBrgb(47, 126, 46)
HSLhsl(119, 47%, 34%)
HSVhsv(119, 63%, 49%)
CMYKcmyk(62.7%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.61, -40.91, 35.67)
CIE-LCHlch(46.61, 54.28, 138.91°)
OKLaboklab(52.61% -0.1112 0.0835)
OKLCHoklch(52.61% 0.139 143.1)
XYZxyz(9.1258, 15.7224, 5.1381)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E2E #7D2E7E
analogous
#577E2E #2F7E2E #2E7E55
triadic
#2F7E2E #2E2F7E #7E2E2F
tetradic
#2F7E2E #2E577E #7D2E7E #7E552E
square
#2F7E2E #2E577E #7D2E7E #7E552E
split-complementary
#2F7E2E #552E7E #7E2E57
monochromatic
#0E240D #1E511E #2F7E2E #40AB3E #62C561

Accessibility & contrast

On white

5.07
#2F7E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F7E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E2E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E2E#FFFFFF#000000##FFFFFF
##2F7E2E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7e2e;
/* rgb */ color: rgb(47, 126, 46);
/* oklch */ color: oklch(52.6% 0.139 143.1);
Tailwind
colors: {
  custom: {
    50: '#71a46a',
    500: '#2f7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e2e;
$custom-light: #71a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e2e",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 119.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.13906,
    "h": 143.1
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#2F7E2E
secondary
#AB5CAC
accent
#52D6D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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