#2F4E22#2F4E22

#2F4E22 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.079 H 137.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2F4E22
RGBrgb(47, 78, 34)
HSLhsl(102, 39%, 22%)
HSVhsv(102, 56%, 31%)
CMYKcmyk(39.7%, 0%, 56.4%, 69.4%)
CIE-LABlab(29.83, -20.99, 22.31)
CIE-LCHlch(29.83, 30.63, 133.27°)
OKLaboklab(38.79% -0.0577 0.0534)
OKLCHoklch(38.79% 0.079 137.2)
XYZxyz(4.1853, 6.1684, 2.4832)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E22 #41224E
analogous
#454E22 #2F4E22 #224E2B
triadic
#2F4E22 #222F4E #4E222F
tetradic
#2F4E22 #22454E #41224E #4E2B22
square
#2F4E22 #22454E #41224E #4E2B22
split-complementary
#2F4E22 #2B224E #4E2245
monochromatic
#0D1509 #15230F #2F4E22 #497935 #62A347

Accessibility & contrast

On white

9.40
#2F4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E22
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E22#FFFFFF#000000##FFFFFF
##2F4E221.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481E
Deuteranopia (green-blind)
#4C4525
Tritanopia (blue-blind)
#2E4B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e22;
/* rgb */ color: rgb(47, 78, 34);
/* oklch */ color: oklch(38.8% 0.079 137.2);
Tailwind
colors: {
  custom: {
    50: '#6a805e',
    500: '#2f4e22',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e22;
$custom-light: #6a805e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e22",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 102.273,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.38793,
    "c": 0.07865,
    "h": 137.2
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#2F4E22
secondary
#714A82
accent
#59CFAC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2F4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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