#2D6115#2D6115

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

Color values

HEX#2D6115
RGBrgb(45, 97, 21)
HSLhsl(101, 64%, 23%)
HSVhsv(101, 78%, 38%)
CMYKcmyk(53.6%, 0%, 78.4%, 62%)
CIE-LABlab(36.29, -32.10, 35.78)
CIE-LCHlch(36.29, 48.07, 131.89°)
OKLaboklab(44.01% -0.0888 0.0806)
OKLCHoklch(44.01% 0.12 137.8)
XYZxyz(5.4921, 9.1610, 2.1882)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6115 #491561
analogous
#536115 #2D6115 #156123
triadic
#2D6115 #152D61 #61152D
tetradic
#2D6115 #155361 #491561 #612315
square
#2D6115 #155361 #491561 #612315
split-complementary
#2D6115 #231561 #611553
monochromatic
#0C1905 #162F0A #2D6115 #449320 #5CC62B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6115#FFFFFF#000000##FFFFFF
##2D61151.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)
#645807
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#295D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6115;
/* rgb */ color: rgb(45, 97, 21);
/* oklch */ color: oklch(44.0% 0.120 137.8);
Tailwind
colors: {
  custom: {
    50: '#6c8e58',
    500: '#2d6115',
    950: '#000000',
  },
}
SCSS
$custom: #2d6115;
$custom-light: #6c8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6115",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 101.053,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.1199,
    "h": 137.8
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#2D6115
secondary
#7A3A98
accent
#40E7B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6115

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

Preview Lab → · Contrast checker → · Palette generator →

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