#2F5F1E#2F5F1E

#2F5F1E is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.109 H 138.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2F5F1E
RGBrgb(47, 95, 30)
HSLhsl(104, 52%, 25%)
HSVhsv(104, 68%, 37%)
CMYKcmyk(50.5%, 0%, 68.4%, 62.7%)
CIE-LABlab(35.76, -29.71, 31.26)
CIE-LCHlch(35.76, 43.12, 133.55°)
OKLaboklab(43.62% -0.0818 0.0723)
OKLCHoklch(43.62% 0.109 138.5)
XYZxyz(5.4986, 8.8821, 2.6527)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F1E #4E1E5F
analogous
#505F1E #2F5F1E #1E5F2E
triadic
#2F5F1E #1E2F5F #5F1E2F
tetradic
#2F5F1E #1E505F #4E1E5F #5F2E1E
square
#2F5F1E #1E505F #4E1E5F #5F2E1E
split-complementary
#2F5F1E #2E1E5F #5F1E50
monochromatic
#0C1707 #18300F #2F5F1E #468E2D #5DBC3B

Accessibility & contrast

On white

7.56
#2F5F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2F5F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5F1E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F1E#FFFFFF#000000##FFFFFF
##2F5F1E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625716
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#2B5C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5f1e;
/* rgb */ color: rgb(47, 95, 30);
/* oklch */ color: oklch(43.6% 0.109 138.5);
Tailwind
colors: {
  custom: {
    50: '#6c8d5d',
    500: '#2f5f1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f1e;
$custom-light: #6c8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f1e",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 104.308,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.10919,
    "h": 138.5
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#2F5F1E
secondary
#7F4594
accent
#4CDBB6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F5F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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