#2F7E1D#2F7E1D

#2F7E1D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.151 H 140.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F7E1D
RGBrgb(47, 126, 29)
HSLhsl(109, 63%, 30%)
HSVhsv(109, 77%, 49%)
CMYKcmyk(62.7%, 0%, 77%, 50.6%)
CIE-LABlab(46.46, -42.58, 42.86)
CIE-LCHlch(46.46, 60.42, 134.81°)
OKLaboklab(52.44% -0.1167 0.0965)
OKLCHoklch(52.44% 0.151 140.4)
XYZxyz(8.8545, 15.6139, 3.7093)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E1D #6C1D7E
analogous
#5F7E1D #2F7E1D #1D7E3B
triadic
#2F7E1D #1D2F7E #7E1D2F
tetradic
#2F7E1D #1D5F7E #6C1D7E #7E3B1D
square
#2F7E1D #1D5F7E #6C1D7E #7E3B1D
split-complementary
#2F7E1D #3B1D7E #7E1D5F
monochromatic
#0A1B06 #1C4C12 #2F7E1D #42B028 #5DD342

Accessibility & contrast

On white

5.09
#2F7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2F7E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E1D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E1D#FFFFFF#000000##FFFFFF
##2F7E1D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#247A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7e1d;
/* rgb */ color: rgb(47, 126, 29);
/* oklch */ color: oklch(52.4% 0.151 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a460',
    500: '#2f7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e1d;
$custom-light: #72a460;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e1d",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 108.866,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52442,
    "c": 0.15144,
    "h": 140.4
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#2F7E1D
secondary
#9D45B1
accent
#42E6C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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