#2D5E1F#2D5E1F

#2D5E1F is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.108 H 139.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2D5E1F
RGBrgb(45, 94, 31)
HSLhsl(107, 50%, 25%)
HSVhsv(107, 67%, 37%)
CMYKcmyk(52.1%, 0%, 67%, 63.1%)
CIE-LABlab(35.32, -29.82, 30.26)
CIE-LCHlch(35.32, 42.49, 134.58°)
OKLaboklab(43.24% -0.0819 0.0703)
OKLCHoklch(43.24% 0.108 139.3)
XYZxyz(5.3320, 8.6618, 2.6870)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E1F #501F5E
analogous
#4D5E1F #2D5E1F #1F5E31
triadic
#2D5E1F #1F2D5E #5E1F2D
tetradic
#2D5E1F #1F4D5E #501F5E #5E311F
square
#2D5E1F #1F4D5E #501F5E #5E311F
split-complementary
#2D5E1F #311F5E #5E1F4D
monochromatic
#0B1708 #173010 #2D5E1F #438C2E #59BA3D

Accessibility & contrast

On white

7.69
#2D5E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D5E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E1F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E1F#FFFFFF#000000##FFFFFF
##2D5E1F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#295B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e1f;
/* rgb */ color: rgb(45, 94, 31);
/* oklch */ color: oklch(43.2% 0.108 139.3);
Tailwind
colors: {
  custom: {
    50: '#6b8c5d',
    500: '#2d5e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e1f;
$custom-light: #6b8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e1f",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 106.667,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.10798,
    "h": 139.3
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#2D5E1F
secondary
#824693
accent
#4EDABB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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