#2D6117#2D6117

#2D6117 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.119 H 138.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2D6117
RGBrgb(45, 97, 23)
HSLhsl(102, 62%, 24%)
HSVhsv(102, 76%, 38%)
CMYKcmyk(53.6%, 0%, 76.3%, 62%)
CIE-LABlab(36.31, -31.93, 34.98)
CIE-LCHlch(36.31, 47.36, 132.39°)
OKLaboklab(44.03% -0.0882 0.0792)
OKLCHoklch(44.03% 0.119 138.1)
XYZxyz(5.5113, 9.1687, 2.2898)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6117 #4B1761
analogous
#526117 #2D6117 #176126
triadic
#2D6117 #172D61 #61172D
tetradic
#2D6117 #175261 #4B1761 #612617
square
#2D6117 #175261 #4B1761 #612617
split-complementary
#2D6117 #261761 #611752
monochromatic
#0B1906 #16300B #2D6117 #449223 #5BC42E

Accessibility & contrast

On white

7.41
#2D6117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D6117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6117
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6117#FFFFFF#000000##FFFFFF
##2D61171.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580A
Deuteranopia (green-blind)
#5D541E
Tritanopia (blue-blind)
#295D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6117;
/* rgb */ color: rgb(45, 97, 23);
/* oklch */ color: oklch(44.0% 0.119 138.1);
Tailwind
colors: {
  custom: {
    50: '#6c8e59',
    500: '#2d6117',
    950: '#000000',
  },
}
SCSS
$custom: #2d6117;
$custom-light: #6c8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6117",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 102.162,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44029,
    "c": 0.11855,
    "h": 138.1
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#2D6117
secondary
#7C3C98
accent
#43E5B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6117

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

Preview Lab → · Contrast checker → · Palette generator →

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