#2D4E22#2D4E22

#2D4E22 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.080 H 138.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2D4E22
RGBrgb(45, 78, 34)
HSLhsl(105, 39%, 22%)
HSVhsv(105, 56%, 31%)
CMYKcmyk(42.3%, 0%, 56.4%, 69.4%)
CIE-LABlab(29.72, -21.77, 22.14)
CIE-LCHlch(29.72, 31.05, 134.52°)
OKLaboklab(38.67% -0.0598 0.0531)
OKLCHoklch(38.67% 0.08 138.4)
XYZxyz(4.0952, 6.1219, 2.4789)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E22 #43224E
analogous
#434E22 #2D4E22 #224E2D
triadic
#2D4E22 #222D4E #4E222D
tetradic
#2D4E22 #22434E #43224E #4E2D22
square
#2D4E22 #22434E #43224E #4E2D22
split-complementary
#2D4E22 #2D224E #4E2243
monochromatic
#0C1509 #14230F #2D4E22 #467935 #5EA347

Accessibility & contrast

On white

9.44
#2D4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4E22
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E22#FFFFFF#000000##FFFFFF
##2D4E221.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4e22;
/* rgb */ color: rgb(45, 78, 34);
/* oklch */ color: oklch(38.7% 0.080 138.4);
Tailwind
colors: {
  custom: {
    50: '#68805e',
    500: '#2d4e22',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e22;
$custom-light: #68805e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e22",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 105,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.38668,
    "c": 0.07992,
    "h": 138.4
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#2D4E22
secondary
#744A82
accent
#59CFB2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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