#2F5D1E#2F5D1E

#2F5D1E is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.106 H 138.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2F5D1E
RGBrgb(47, 93, 30)
HSLhsl(104, 51%, 24%)
HSVhsv(104, 68%, 36%)
CMYKcmyk(49.5%, 0%, 67.7%, 63.5%)
CIE-LABlab(35.06, -28.80, 30.48)
CIE-LCHlch(35.06, 41.94, 133.37°)
OKLaboklab(43.05% -0.0793 0.0707)
OKLCHoklch(43.05% 0.106 138.3)
XYZxyz(5.3208, 8.5264, 2.5934)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D1E #4C1E5D
analogous
#4F5D1E #2F5D1E #1E5D2D
triadic
#2F5D1E #1E2F5D #5D1E2F
tetradic
#2F5D1E #1E4F5D #4C1E5D #5D2D1E
square
#2F5D1E #1E4F5D #4C1E5D #5D2D1E
split-complementary
#2F5D1E #2D1E5D #5D1E4F
monochromatic
#0C1707 #182F0F #2F5D1E #468B2D #5EBA3C

Accessibility & contrast

On white

7.76
#2F5D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2F5D1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D1E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D1E#FFFFFF#000000##FFFFFF
##2F5D1E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605516
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#2C5A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5d1e;
/* rgb */ color: rgb(47, 93, 30);
/* oklch */ color: oklch(43.0% 0.106 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c8b5d',
    500: '#2f5d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d1e;
$custom-light: #6c8b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d1e",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 30
  },
  "hsl": {
    "h": 103.81,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.10625,
    "h": 138.3
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#2F5D1E
secondary
#7D4592
accent
#4DDBB4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F5D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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