#2D6E17#2D6E17

#2D6E17 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.136 H 139.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2D6E17
RGBrgb(45, 110, 23)
HSLhsl(105, 65%, 26%)
HSVhsv(105, 79%, 43%)
CMYKcmyk(59.1%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.85, -37.35, 39.53)
CIE-LCHlch(40.85, 54.38, 133.38°)
OKLaboklab(47.77% -0.1028 0.0887)
OKLCHoklch(47.77% 0.136 139.2)
XYZxyz(6.8125, 11.7710, 2.7235)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E17 #58176E
analogous
#586E17 #2D6E17 #176E2C
triadic
#2D6E17 #172D6E #6E172D
tetradic
#2D6E17 #17586E #58176E #6E2C17
square
#2D6E17 #17586E #58176E #6E2C17
split-complementary
#2D6E17 #2C176E #6E1758
monochromatic
#0A1905 #183B0C #2D6E17 #42A122 #57D32C

Accessibility & contrast

On white

6.26
#2D6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2D6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E17
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E17#FFFFFF#000000##FFFFFF
##2D6E171.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716405
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#266A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6e17;
/* rgb */ color: rgb(45, 110, 23);
/* oklch */ color: oklch(47.8% 0.136 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e985b',
    500: '#2d6e17',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e17;
$custom-light: #6e985b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e17",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 104.828,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.13579,
    "h": 139.2
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#2D6E17
secondary
#8A3DA4
accent
#3FE8BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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