#2F6221#2F6221

#2F6221 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.111 H 139.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2F6221
RGBrgb(47, 98, 33)
HSLhsl(107, 50%, 26%)
HSVhsv(107, 66%, 38%)
CMYKcmyk(52%, 0%, 66.3%, 61.6%)
CIE-LABlab(36.84, -30.73, 30.98)
CIE-LCHlch(36.84, 43.64, 134.76°)
OKLaboklab(44.52% -0.0844 0.0721)
OKLCHoklch(44.52% 0.111 139.5)
XYZxyz(5.8143, 9.4491, 2.9560)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6221 #542162
analogous
#4F6221 #2F6221 #216233
triadic
#2F6221 #212F62 #62212F
tetradic
#2F6221 #214F62 #542162 #623321
square
#2F6221 #214F62 #542162 #623321
split-complementary
#2F6221 #332162 #62214F
monochromatic
#0B1708 #193412 #2F6221 #459030 #5BBE40

Accessibility & contrast

On white

7.27
#2F6221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F6221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6221
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6221#FFFFFF#000000##FFFFFF
##2F62211.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655919
Deuteranopia (green-blind)
#5E5526
Tritanopia (blue-blind)
#2A5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6221;
/* rgb */ color: rgb(47, 98, 33);
/* oklch */ color: oklch(44.5% 0.111 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d8f5f',
    500: '#2f6221',
    950: '#000000',
  },
}
SCSS
$custom: #2f6221;
$custom-light: #6d8f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6221",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 107.077,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.11097,
    "h": 139.5
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#2F6221
secondary
#854996
accent
#4FD9BB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2F6221

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

Preview Lab → · Contrast checker → · Palette generator →

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