#2F7320#2F7320

#2F7320 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.135 H 140.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2F7320
RGBrgb(47, 115, 32)
HSLhsl(109, 56%, 29%)
HSVhsv(109, 72%, 45%)
CMYKcmyk(59.1%, 0%, 72.2%, 54.9%)
CIE-LABlab(42.72, -38.03, 37.82)
CIE-LCHlch(42.72, 53.63, 135.16°)
OKLaboklab(49.36% -0.1042 0.0864)
OKLCHoklch(49.36% 0.135 140.3)
XYZxyz(7.5634, 12.9694, 3.4710)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7320 #642073
analogous
#597320 #2F7320 #20733B
triadic
#2F7320 #202F73 #73202F
tetradic
#2F7320 #205973 #642073 #733B20
square
#2F7320 #205973 #642073 #733B20
split-complementary
#2F7320 #3B2073 #732059
monochromatic
#0A1807 #1B4313 #2F7320 #43A32D #5BCB43

Accessibility & contrast

On white

5.84
#2F7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7320
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7320#FFFFFF#000000##FFFFFF
##2F73201.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#276F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7320;
/* rgb */ color: rgb(47, 115, 32);
/* oklch */ color: oklch(49.4% 0.135 140.3);
Tailwind
colors: {
  custom: {
    50: '#709c60',
    500: '#2f7320',
    950: '#000000',
  },
}
SCSS
$custom: #2f7320;
$custom-light: #709c60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7320",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 109.157,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49355,
    "c": 0.13538,
    "h": 140.3
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#2F7320
secondary
#9648A7
accent
#48E0C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7320

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

Preview Lab → · Contrast checker → · Palette generator →

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