#2F5E22#2F5E22

#2F5E22 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.4% C 0.104 H 139.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2F5E22
RGBrgb(47, 94, 34)
HSLhsl(107, 47%, 25%)
HSVhsv(107, 64%, 37%)
CMYKcmyk(50%, 0%, 63.8%, 63.1%)
CIE-LABlab(35.45, -28.80, 28.91)
CIE-LCHlch(35.45, 40.81, 134.88°)
OKLaboklab(43.38% -0.079 0.0678)
OKLCHoklch(43.38% 0.104 139.4)
XYZxyz(5.4635, 8.7249, 2.9092)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E22 #51225E
analogous
#4D5E22 #2F5E22 #225E33
triadic
#2F5E22 #222F5E #5E222F
tetradic
#2F5E22 #224D5E #51225E #5E3322
square
#2F5E22 #224D5E #51225E #5E3322
split-complementary
#2F5E22 #33225E #5E224D
monochromatic
#0B1608 #193112 #2F5E22 #458B32 #5CB843

Accessibility & contrast

On white

7.65
#2F5E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F5E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5E22
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E22#FFFFFF#000000##FFFFFF
##2F5E221.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#5A5227
Tritanopia (blue-blind)
#2B5B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5e22;
/* rgb */ color: rgb(47, 94, 34);
/* oklch */ color: oklch(43.4% 0.104 139.4);
Tailwind
colors: {
  custom: {
    50: '#6c8c5f',
    500: '#2f5e22',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e22;
$custom-light: #6c8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e22",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 107,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.10413,
    "h": 139.4
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#2F5E22
secondary
#824A92
accent
#51D7BA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2F5E22

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

Preview Lab → · Contrast checker → · Palette generator →

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