#2F6322#2F6322

#2F6322 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.112 H 139.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6322
RGBrgb(47, 99, 34)
HSLhsl(108, 49%, 26%)
HSVhsv(108, 66%, 39%)
CMYKcmyk(52.5%, 0%, 65.7%, 61.2%)
CIE-LABlab(37.19, -31.06, 30.89)
CIE-LCHlch(37.19, 43.81, 135.15°)
OKLaboklab(44.81% -0.0852 0.072)
OKLCHoklch(44.81% 0.112 139.8)
XYZxyz(5.9226, 9.6431, 3.0623)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6322 #562263
analogous
#4F6322 #2F6322 #226335
triadic
#2F6322 #222F63 #63222F
tetradic
#2F6322 #224F63 #562263 #633522
square
#2F6322 #224F63 #562263 #633522
split-complementary
#2F6322 #352263 #63224F
monochromatic
#0B1708 #193512 #2F6322 #459132 #5ABE41

Accessibility & contrast

On white

7.17
#2F6322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2F6322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6322
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6322#FFFFFF#000000##FFFFFF
##2F63221.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1B
Deuteranopia (green-blind)
#5F5627
Tritanopia (blue-blind)
#2A6055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6322;
/* rgb */ color: rgb(47, 99, 34);
/* oklch */ color: oklch(44.8% 0.112 139.8);
Tailwind
colors: {
  custom: {
    50: '#6d9060',
    500: '#2f6322',
    950: '#000000',
  },
}
SCSS
$custom: #2f6322;
$custom-light: #6d9060;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6322",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 34
  },
  "hsl": {
    "h": 108,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44814,
    "c": 0.11155,
    "h": 139.8
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#2F6322
secondary
#874A97
accent
#4FD8BD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2F6322

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

Preview Lab → · Contrast checker → · Palette generator →

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