#2F7627#2F7627

#2F7627 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.134 H 141.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7627
RGBrgb(47, 118, 39)
HSLhsl(114, 50%, 31%)
HSVhsv(114, 67%, 46%)
CMYKcmyk(60.2%, 0%, 66.9%, 53.7%)
CIE-LABlab(43.81, -38.53, 35.86)
CIE-LCHlch(43.81, 52.63, 137.06°)
OKLaboklab(50.28% -0.1051 0.0831)
OKLCHoklch(50.28% 0.134 141.7)
XYZxyz(8.0165, 13.7070, 4.1423)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7627 #6E2776
analogous
#567627 #2F7627 #277646
triadic
#2F7627 #272F76 #76272F
tetradic
#2F7627 #275676 #6E2776 #764627
square
#2F7627 #275676 #6E2776 #764627
split-complementary
#2F7627 #462776 #762756
monochromatic
#0A1A09 #1D4818 #2F7627 #41A436 #5DC652

Accessibility & contrast

On white

5.61
#2F7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2F7627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7627
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7627#FFFFFF#000000##FFFFFF
##2F76271.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1D
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#257266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7627;
/* rgb */ color: rgb(47, 118, 39);
/* oklch */ color: oklch(50.3% 0.134 141.7);
Tailwind
colors: {
  custom: {
    50: '#709e65',
    500: '#2f7627',
    950: '#000000',
  },
}
SCSS
$custom: #2f7627;
$custom-light: #709e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7627",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 113.924,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.13403,
    "h": 141.7
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#2F7627
secondary
#9F51A8
accent
#4EDACC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7627

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

Preview Lab → · Contrast checker → · Palette generator →

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