#2F6722#2F6722

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

Color values

HEX#2F6722
RGBrgb(47, 103, 34)
HSLhsl(109, 50%, 27%)
HSVhsv(109, 67%, 40%)
CMYKcmyk(54.4%, 0%, 67%, 59.6%)
CIE-LABlab(38.59, -32.81, 32.45)
CIE-LCHlch(38.59, 46.15, 135.32°)
OKLaboklab(45.96% -0.09 0.0753)
OKLCHoklch(45.96% 0.117 140.1)
XYZxyz(6.3110, 10.4198, 3.1917)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6722 #5A2267
analogous
#526722 #2F6722 #226738
triadic
#2F6722 #222F67 #67222F
tetradic
#2F6722 #225267 #5A2267 #673822
square
#2F6722 #225267 #5A2267 #673822
split-complementary
#2F6722 #382267 #672252
monochromatic
#0A1708 #1A3913 #2F6722 #449531 #5AC143

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6722#FFFFFF#000000##FFFFFF
##2F67221.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)
#6A5E1A
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#296459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6722;
/* rgb */ color: rgb(47, 103, 34);
/* oklch */ color: oklch(46.0% 0.117 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d9360',
    500: '#2f6722',
    950: '#000000',
  },
}
SCSS
$custom: #2f6722;
$custom-light: #6d9360;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6722",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 108.696,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.11733,
    "h": 140.1
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#2F6722
secondary
#8C4A9B
accent
#4EDAC0
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6722

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

Preview Lab → · Contrast checker → · Palette generator →

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