#2F5D1D#2F5D1D

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

Color values

HEX#2F5D1D
RGBrgb(47, 93, 29)
HSLhsl(103, 52%, 24%)
HSVhsv(103, 69%, 36%)
CMYKcmyk(49.5%, 0%, 68.8%, 63.5%)
CIE-LABlab(35.05, -28.91, 30.96)
CIE-LCHlch(35.05, 42.36, 133.03°)
OKLaboklab(43.03% -0.0797 0.0716)
OKLCHoklch(43.03% 0.107 138.1)
XYZxyz(5.3082, 8.5214, 2.5272)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D1D #4B1D5D
analogous
#4F5D1D #2F5D1D #1D5D2B
triadic
#2F5D1D #1D2F5D #5D1D2F
tetradic
#2F5D1D #1D4F5D #4B1D5D #5D2B1D
square
#2F5D1D #1D4F5D #4B1D5D #5D2B1D
split-complementary
#2F5D1D #2B1D5D #5D1D4F
monochromatic
#0C1707 #172E0E #2F5D1D #478C2C #5EBA3A

Accessibility & contrast

On white

7.77
#2F5D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F5D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D1D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D1D#FFFFFF#000000##FFFFFF
##2F5D1D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5d1d;
/* rgb */ color: rgb(47, 93, 29);
/* oklch */ color: oklch(43.0% 0.107 138.1);
Tailwind
colors: {
  custom: {
    50: '#6c8b5c',
    500: '#2f5d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d1d;
$custom-light: #6c8b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d1d",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 29
  },
  "hsl": {
    "h": 103.125,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.10711,
    "h": 138.1
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#2F5D1D
secondary
#7C4492
accent
#4CDCB3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F5D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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