#2F7D27#2F7D27

#2F7D27 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.143 H 141.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F7D27
RGBrgb(47, 125, 39)
HSLhsl(114, 52%, 32%)
HSVhsv(114, 69%, 49%)
CMYKcmyk(62.4%, 0%, 68.8%, 51%)
CIE-LABlab(46.20, -41.30, 38.47)
CIE-LCHlch(46.20, 56.44, 137.03°)
OKLaboklab(52.25% -0.1126 0.0887)
OKLCHoklch(52.25% 0.143 141.8)
XYZxyz(8.8717, 15.4172, 4.4274)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D27 #75277D
analogous
#5A7D27 #2F7D27 #277D4A
triadic
#2F7D27 #272F7D #7D272F
tetradic
#2F7D27 #275A7D #75277D #7D4A27
square
#2F7D27 #275A7D #75277D #7D4A27
split-complementary
#2F7D27 #4A277D #7D275A
monochromatic
#0C200A #1D4E18 #2F7D27 #41AC36 #5FCA55

Accessibility & contrast

On white

5.14
#2F7D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F7D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D27
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D27#FFFFFF#000000##FFFFFF
##2F7D271.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#22796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d27;
/* rgb */ color: rgb(47, 125, 39);
/* oklch */ color: oklch(52.2% 0.143 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a366',
    500: '#2f7d27',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d27;
$custom-light: #71a366;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d27",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 114.419,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.14334,
    "h": 141.8
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#2F7D27
secondary
#A651AF
accent
#4CDCCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F7D27

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

Preview Lab → · Contrast checker → · Palette generator →

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