#2F4E20#2F4E20

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

Color values

HEX#2F4E20
RGBrgb(47, 78, 32)
HSLhsl(100, 42%, 22%)
HSVhsv(100, 59%, 31%)
CMYKcmyk(39.7%, 0%, 59%, 69.4%)
CIE-LABlab(29.81, -21.27, 23.41)
CIE-LCHlch(29.81, 31.63, 132.26°)
OKLaboklab(38.76% -0.0586 0.0557)
OKLCHoklch(38.76% 0.081 136.5)
XYZxyz(4.1573, 6.1572, 2.3356)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E20 #3F204E
analogous
#464E20 #2F4E20 #204E28
triadic
#2F4E20 #202F4E #4E202F
tetradic
#2F4E20 #20464E #3F204E #4E2820
square
#2F4E20 #20464E #3F204E #4E2820
split-complementary
#2F4E20 #28204E #4E2046
monochromatic
#0D1609 #15230E #2F4E20 #497932 #63A544

Accessibility & contrast

On white

9.41
#2F4E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E20
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E20#FFFFFF#000000##FFFFFF
##2F4E201.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#2E4B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e20;
/* rgb */ color: rgb(47, 78, 32);
/* oklch */ color: oklch(38.8% 0.081 136.5);
Tailwind
colors: {
  custom: {
    50: '#6a805d',
    500: '#2f4e20',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e20;
$custom-light: #6a805d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e20",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 32
  },
  "hsl": {
    "h": 100.435,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.08084,
    "h": 136.5
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#2F4E20
secondary
#6F4782
accent
#56D2A9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2F4E20

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

Preview Lab → · Contrast checker → · Palette generator →

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