#2D5E22#2D5E22

#2D5E22 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.105 H 140.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2D5E22
RGBrgb(45, 94, 34)
HSLhsl(109, 47%, 25%)
HSVhsv(109, 64%, 37%)
CMYKcmyk(52.1%, 0%, 63.8%, 63.1%)
CIE-LABlab(35.36, -29.47, 28.79)
CIE-LCHlch(35.36, 41.20, 135.67°)
OKLaboklab(43.28% -0.0807 0.0675)
OKLCHoklch(43.28% 0.105 140.1)
XYZxyz(5.3734, 8.6784, 2.9050)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E22 #53225E
analogous
#4B5E22 #2D5E22 #225E35
triadic
#2D5E22 #222D5E #5E222D
tetradic
#2D5E22 #224B5E #53225E #5E3522
square
#2D5E22 #224B5E #53225E #5E3522
split-complementary
#2D5E22 #35225E #5E224B
monochromatic
#0B1608 #173112 #2D5E22 #438B32 #58B843

Accessibility & contrast

On white

7.68
#2D5E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D5E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E22
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E22#FFFFFF#000000##FFFFFF
##2D5E221.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#5A5227
Tritanopia (blue-blind)
#285B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e22;
/* rgb */ color: rgb(45, 94, 34);
/* oklch */ color: oklch(43.3% 0.105 140.1);
Tailwind
colors: {
  custom: {
    50: '#6b8c5f',
    500: '#2d5e22',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e22;
$custom-light: #6b8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e22",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 109,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43282,
    "c": 0.10526,
    "h": 140.1
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#2D5E22
secondary
#854A92
accent
#51D7BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D5E22

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

Preview Lab → · Contrast checker → · Palette generator →

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