#2D5D22#2D5D22

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

Color values

HEX#2D5D22
RGBrgb(45, 93, 34)
HSLhsl(109, 46%, 25%)
HSVhsv(109, 63%, 36%)
CMYKcmyk(51.6%, 0%, 63.4%, 63.5%)
CIE-LABlab(35.01, -29.01, 28.38)
CIE-LCHlch(35.01, 40.59, 135.63°)
OKLaboklab(42.99% -0.0795 0.0667)
OKLCHoklch(42.99% 0.104 140)
XYZxyz(5.2851, 8.5017, 2.8756)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D22 #52225D
analogous
#4A5D22 #2D5D22 #225D35
triadic
#2D5D22 #222D5D #5D222D
tetradic
#2D5D22 #224A5D #52225D #5D3522
square
#2D5D22 #224A5D #52225D #5D3522
split-complementary
#2D5D22 #35225D #5D224A
monochromatic
#0B1608 #173012 #2D5D22 #438A32 #58B743

Accessibility & contrast

On white

7.78
#2D5D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5D22
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D22#FFFFFF#000000##FFFFFF
##2D5D221.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551C
Deuteranopia (green-blind)
#595127
Tritanopia (blue-blind)
#285A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d22;
/* rgb */ color: rgb(45, 93, 34);
/* oklch */ color: oklch(43.0% 0.104 140.0);
Tailwind
colors: {
  custom: {
    50: '#6a8b5f',
    500: '#2d5d22',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d22;
$custom-light: #6a8b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d22",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 108.814,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42994,
    "c": 0.10376,
    "h": 140
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#2D5D22
secondary
#844A91
accent
#52D6BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D5D22

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

Preview Lab → · Contrast checker → · Palette generator →

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