#2D6223#2D6223

#2D6223 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.110 H 140.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2D6223
RGBrgb(45, 98, 35)
HSLhsl(110, 47%, 26%)
HSVhsv(110, 64%, 38%)
CMYKcmyk(54.1%, 0%, 64.3%, 61.6%)
CIE-LABlab(36.77, -31.14, 29.89)
CIE-LCHlch(36.77, 43.16, 136.18°)
OKLaboklab(44.45% -0.0852 0.07)
OKLCHoklch(44.45% 0.11 140.6)
XYZxyz(5.7530, 9.4142, 3.1037)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6223 #582362
analogous
#4C6223 #2D6223 #236238
triadic
#2D6223 #232D62 #62232D
tetradic
#2D6223 #234C62 #582362 #623823
square
#2D6223 #234C62 #582362 #623823
split-complementary
#2D6223 #382362 #62234C
monochromatic
#0A1708 #183513 #2D6223 #428F33 #57BC43

Accessibility & contrast

On white

7.28
#2D6223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D6223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6223
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6223#FFFFFF#000000##FFFFFF
##2D62231.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65591C
Deuteranopia (green-blind)
#5E5528
Tritanopia (blue-blind)
#275F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6223;
/* rgb */ color: rgb(45, 98, 35);
/* oklch */ color: oklch(44.4% 0.110 140.6);
Tailwind
colors: {
  custom: {
    50: '#6b8f60',
    500: '#2d6223',
    950: '#000000',
  },
}
SCSS
$custom: #2d6223;
$custom-light: #6b8f60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6223",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 110.476,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44445,
    "c": 0.11028,
    "h": 140.6
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#2D6223
secondary
#8A4B96
accent
#51D7C2
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D6223

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

Preview Lab → · Contrast checker → · Palette generator →

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