#2D5F1E#2D5F1E

#2D5F1E is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.110 H 139.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2D5F1E
RGBrgb(45, 95, 30)
HSLhsl(106, 52%, 25%)
HSVhsv(106, 68%, 37%)
CMYKcmyk(52.6%, 0%, 68.4%, 62.7%)
CIE-LABlab(35.67, -30.38, 31.13)
CIE-LCHlch(35.67, 43.50, 134.30°)
OKLaboklab(43.52% -0.0835 0.0721)
OKLCHoklch(43.52% 0.11 139.2)
XYZxyz(5.4085, 8.8357, 2.6485)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F1E #501E5F
analogous
#4E5F1E #2D5F1E #1E5F30
triadic
#2D5F1E #1E2D5F #5F1E2D
tetradic
#2D5F1E #1E4E5F #501E5F #5F301E
square
#2D5F1E #1E4E5F #501E5F #5F301E
split-complementary
#2D5F1E #301E5F #5F1E4E
monochromatic
#0B1707 #17300F #2D5F1E #438E2D #59BC3B

Accessibility & contrast

On white

7.59
#2D5F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D5F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F1E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F1E#FFFFFF#000000##FFFFFF
##2D5F1E1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625716
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#295C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f1e;
/* rgb */ color: rgb(45, 95, 30);
/* oklch */ color: oklch(43.5% 0.110 139.2);
Tailwind
colors: {
  custom: {
    50: '#6b8d5d',
    500: '#2d5f1e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f1e;
$custom-light: #6b8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f1e",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 106.154,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.11029,
    "h": 139.2
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#2D5F1E
secondary
#824594
accent
#4CDBBA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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