#2D5920#2D5920

#2D5920 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.100 H 139.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2D5920
RGBrgb(45, 89, 32)
HSLhsl(106, 47%, 24%)
HSVhsv(106, 64%, 35%)
CMYKcmyk(49.4%, 0%, 64%, 65.1%)
CIE-LABlab(33.58, -27.41, 27.78)
CIE-LCHlch(33.58, 39.03, 134.62°)
OKLaboklab(41.81% -0.0753 0.0652)
OKLCHoklch(41.81% 0.1 139.1)
XYZxyz(4.9151, 7.8066, 2.6141)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5920 #4C2059
analogous
#495920 #2D5920 #20592F
triadic
#2D5920 #202D59 #59202D
tetradic
#2D5920 #204959 #4C2059 #592F20
square
#2D5920 #204959 #4C2059 #592F20
split-complementary
#2D5920 #2F2059 #592049
monochromatic
#0B1708 #162C10 #2D5920 #448630 #5BB340

Accessibility & contrast

On white

8.20
#2D5920 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D5920 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5920
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5920#FFFFFF#000000##FFFFFF
##2D59201.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C511A
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#2A564D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5920;
/* rgb */ color: rgb(45, 89, 32);
/* oklch */ color: oklch(41.8% 0.100 139.1);
Tailwind
colors: {
  custom: {
    50: '#6a885e',
    500: '#2d5920',
    950: '#000000',
  },
}
SCSS
$custom: #2d5920;
$custom-light: #6a885e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5920",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 32
  },
  "hsl": {
    "h": 106.316,
    "s": 47.107,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.09956,
    "h": 139.1
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#2D5920
secondary
#7D478D
accent
#51D7B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D5920

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

Preview Lab → · Contrast checker → · Palette generator →

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