#2F7620#2F7620

#2F7620 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.139 H 140.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2F7620
RGBrgb(47, 118, 32)
HSLhsl(110, 57%, 29%)
HSVhsv(110, 73%, 46%)
CMYKcmyk(60.2%, 0%, 72.9%, 53.7%)
CIE-LABlab(43.75, -39.23, 38.90)
CIE-LCHlch(43.75, 55.25, 135.24°)
OKLaboklab(50.21% -0.1075 0.0887)
OKLCHoklch(50.21% 0.139 140.5)
XYZxyz(7.9111, 13.6648, 3.5869)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7620 #672076
analogous
#5A7620 #2F7620 #20763C
triadic
#2F7620 #202F76 #76202F
tetradic
#2F7620 #205A76 #672076 #763C20
square
#2F7620 #205A76 #672076 #763C20
split-complementary
#2F7620 #3C2076 #76205A
monochromatic
#0A1807 #1C4613 #2F7620 #42A62D #5CCC44

Accessibility & contrast

On white

5.63
#2F7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2F7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7620
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7620#FFFFFF#000000##FFFFFF
##2F76201.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#267265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7620;
/* rgb */ color: rgb(47, 118, 32);
/* oklch */ color: oklch(50.2% 0.139 140.5);
Tailwind
colors: {
  custom: {
    50: '#709e61',
    500: '#2f7620',
    950: '#000000',
  },
}
SCSS
$custom: #2f7620;
$custom-light: #709e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7620",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 109.535,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.13932,
    "h": 140.5
  },
  "luminance": 0.13665
}

Semantic roles & 50–950 ramp

primary
#2F7620
secondary
#9848A9
accent
#47E1C6
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7620

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

Preview Lab → · Contrast checker → · Palette generator →

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