#2D6717#2D6717

#2D6717 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.127 H 138.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2D6717
RGBrgb(45, 103, 23)
HSLhsl(104, 63%, 25%)
HSVhsv(104, 78%, 40%)
CMYKcmyk(56.3%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.41, -34.48, 37.11)
CIE-LCHlch(38.41, 50.66, 132.90°)
OKLaboklab(45.76% -0.0951 0.0836)
OKLCHoklch(45.76% 0.127 138.7)
XYZxyz(6.0869, 10.3198, 2.4816)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6717 #511767
analogous
#556717 #2D6717 #176729
triadic
#2D6717 #172D67 #67172D
tetradic
#2D6717 #175567 #511767 #672917
square
#2D6717 #175567 #511767 #672917
split-complementary
#2D6717 #291767 #671755
monochromatic
#0B1906 #17350C #2D6717 #439922 #59CB2D

Accessibility & contrast

On white

6.85
#2D6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2D6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6717
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6717#FFFFFF#000000##FFFFFF
##2D67171.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#286358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d6717;
/* rgb */ color: rgb(45, 103, 23);
/* oklch */ color: oklch(45.8% 0.127 138.7);
Tailwind
colors: {
  custom: {
    50: '#6d935a',
    500: '#2d6717',
    950: '#000000',
  },
}
SCSS
$custom: #2d6717;
$custom-light: #6d935a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6717",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 103.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.12665,
    "h": 138.7
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#2D6717
secondary
#833D9D
accent
#41E7B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6717

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

Preview Lab → · Contrast checker → · Palette generator →

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