#2F6720#2F6720

#2F6720 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.119 H 139.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2F6720
RGBrgb(47, 103, 32)
HSLhsl(107, 53%, 26%)
HSVhsv(107, 69%, 40%)
CMYKcmyk(54.4%, 0%, 68.9%, 59.6%)
CIE-LABlab(38.57, -33.03, 33.38)
CIE-LCHlch(38.57, 46.96, 134.70°)
OKLaboklab(45.93% -0.0907 0.077)
OKLCHoklch(45.93% 0.119 139.6)
XYZxyz(6.2830, 10.4086, 3.0442)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6720 #582067
analogous
#536720 #2F6720 #206735
triadic
#2F6720 #202F67 #67202F
tetradic
#2F6720 #205367 #582067 #673520
square
#2F6720 #205367 #582067 #673520
split-complementary
#2F6720 #352067 #672053
monochromatic
#0B1707 #1A3811 #2F6720 #44962F #5AC33E

Accessibility & contrast

On white

6.81
#2F6720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F6720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6720
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6720#FFFFFF#000000##FFFFFF
##2F67201.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E17
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#2A6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6720;
/* rgb */ color: rgb(47, 103, 32);
/* oklch */ color: oklch(45.9% 0.119 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d935f',
    500: '#2f6720',
    950: '#000000',
  },
}
SCSS
$custom: #2f6720;
$custom-light: #6d935f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6720",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 107.324,
    "s": 52.593,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.119,
    "h": 139.6
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#2F6720
secondary
#8A489B
accent
#4CDCBE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6720

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

Preview Lab → · Contrast checker → · Palette generator →

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