#2D5C22#2D5C22

#2D5C22 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.7% C 0.102 H 139.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2D5C22
RGBrgb(45, 92, 34)
HSLhsl(109, 46%, 25%)
HSVhsv(109, 63%, 36%)
CMYKcmyk(51.1%, 0%, 63%, 63.9%)
CIE-LABlab(34.66, -28.56, 27.98)
CIE-LCHlch(34.66, 39.98, 135.58°)
OKLaboklab(42.71% -0.0783 0.0658)
OKLCHoklch(42.71% 0.102 139.9)
XYZxyz(5.1979, 8.3273, 2.8465)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C22 #51225C
analogous
#4A5C22 #2D5C22 #225C34
triadic
#2D5C22 #222D5C #5C222D
tetradic
#2D5C22 #224A5C #51225C #5C3422
square
#2D5C22 #224A5C #51225C #5C3422
split-complementary
#2D5C22 #34225C #5C224A
monochromatic
#0B1608 #172F11 #2D5C22 #438933 #59B543

Accessibility & contrast

On white

7.88
#2D5C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D5C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5C22
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C22#FFFFFF#000000##FFFFFF
##2D5C221.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541C
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#29594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5c22;
/* rgb */ color: rgb(45, 92, 34);
/* oklch */ color: oklch(42.7% 0.102 139.9);
Tailwind
colors: {
  custom: {
    50: '#6a8a5f',
    500: '#2d5c22',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c22;
$custom-light: #6a8a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c22",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 108.621,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42706,
    "c": 0.10224,
    "h": 139.9
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#2D5C22
secondary
#834A90
accent
#52D6BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D5C22

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

Preview Lab → · Contrast checker → · Palette generator →

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