#2D4E20#2D4E20

#2D4E20 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.082 H 137.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2D4E20
RGBrgb(45, 78, 32)
HSLhsl(103, 42%, 22%)
HSVhsv(103, 59%, 31%)
CMYKcmyk(42.3%, 0%, 59%, 69.4%)
CIE-LABlab(29.69, -22.05, 23.24)
CIE-LCHlch(29.69, 32.04, 133.50°)
OKLaboklab(38.64% -0.0607 0.0553)
OKLCHoklch(38.64% 0.082 137.6)
XYZxyz(4.0672, 6.1107, 2.3314)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E20 #41204E
analogous
#444E20 #2D4E20 #204E2A
triadic
#2D4E20 #202D4E #4E202D
tetradic
#2D4E20 #20444E #41204E #4E2A20
square
#2D4E20 #20444E #41204E #4E2A20
split-complementary
#2D4E20 #2A204E #4E2044
monochromatic
#0D1609 #14230E #2D4E20 #467932 #5FA544

Accessibility & contrast

On white

9.45
#2D4E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D4E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E20
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E20#FFFFFF#000000##FFFFFF
##2D4E201.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481C
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#2B4B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e20;
/* rgb */ color: rgb(45, 78, 32);
/* oklch */ color: oklch(38.6% 0.082 137.6);
Tailwind
colors: {
  custom: {
    50: '#68805d',
    500: '#2d4e20',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e20;
$custom-light: #68805d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e20",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 32
  },
  "hsl": {
    "h": 103.043,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.0821,
    "h": 137.6
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#2D4E20
secondary
#724782
accent
#56D2AF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D4E20

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

Preview Lab → · Contrast checker → · Palette generator →

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