#2F7121#2F7121

#2F7121 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.132 H 140.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2F7121
RGBrgb(47, 113, 33)
HSLhsl(110, 55%, 29%)
HSVhsv(110, 71%, 44%)
CMYKcmyk(58.4%, 0%, 70.8%, 55.7%)
CIE-LABlab(42.04, -37.12, 36.66)
CIE-LCHlch(42.04, 52.18, 135.36°)
OKLaboklab(48.8% -0.1017 0.0841)
OKLCHoklch(48.8% 0.132 140.4)
XYZxyz(7.3516, 12.5238, 3.4685)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7121 #632171
analogous
#577121 #2F7121 #21713B
triadic
#2F7121 #212F71 #71212F
tetradic
#2F7121 #215771 #632171 #713B21
square
#2F7121 #215771 #632171 #713B21
split-complementary
#2F7121 #3B2171 #712157
monochromatic
#0A1807 #1B4213 #2F7121 #43A02F #5BC844

Accessibility & contrast

On white

5.99
#2F7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7121
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7121#FFFFFF#000000##FFFFFF
##2F71211.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746716
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#276D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7121;
/* rgb */ color: rgb(47, 113, 33);
/* oklch */ color: oklch(48.8% 0.132 140.4);
Tailwind
colors: {
  custom: {
    50: '#6f9a61',
    500: '#2f7121',
    950: '#000000',
  },
}
SCSS
$custom: #2f7121;
$custom-light: #6f9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7121",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 109.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.13198,
    "h": 140.4
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#2F7121
secondary
#9549A5
accent
#4ADEC4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7121

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

Preview Lab → · Contrast checker → · Palette generator →

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