#2D6C17#2D6C17

#2D6C17 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.133 H 139.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2D6C17
RGBrgb(45, 108, 23)
HSLhsl(104, 65%, 26%)
HSVhsv(104, 79%, 42%)
CMYKcmyk(58.3%, 0%, 78.7%, 57.6%)
CIE-LABlab(40.15, -36.54, 38.84)
CIE-LCHlch(40.15, 53.33, 133.25°)
OKLaboklab(47.2% -0.1006 0.0872)
OKLCHoklch(47.2% 0.133 139.1)
XYZxyz(6.5991, 11.3443, 2.6524)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6C17 #56176C
analogous
#576C17 #2D6C17 #176C2C
triadic
#2D6C17 #172D6C #6C172D
tetradic
#2D6C17 #17576C #56176C #6C2C17
square
#2D6C17 #17576C #56176C #6C2C17
split-complementary
#2D6C17 #2C176C #6C1757
monochromatic
#0B1905 #183A0C #2D6C17 #429E22 #57D12C

Accessibility & contrast

On white

6.42
#2D6C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2D6C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6C17
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6C17#FFFFFF#000000##FFFFFF
##2D6C171.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#675D20
Tritanopia (blue-blind)
#27685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6c17;
/* rgb */ color: rgb(45, 108, 23);
/* oklch */ color: oklch(47.2% 0.133 139.1);
Tailwind
colors: {
  custom: {
    50: '#6e975b',
    500: '#2d6c17',
    950: '#000000',
  },
}
SCSS
$custom: #2d6c17;
$custom-light: #6e975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6c17",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 104.471,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47199,
    "c": 0.1332,
    "h": 139.1
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#2D6C17
secondary
#883DA2
accent
#40E8BC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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