#2D6A17#2D6A17

#2D6A17 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.131 H 138.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2D6A17
RGBrgb(45, 106, 23)
HSLhsl(104, 64%, 25%)
HSVhsv(104, 78%, 42%)
CMYKcmyk(57.5%, 0%, 78.3%, 58.4%)
CIE-LABlab(39.46, -35.73, 38.15)
CIE-LCHlch(39.46, 52.27, 133.12°)
OKLaboklab(46.62% -0.0985 0.0858)
OKLCHoklch(46.62% 0.131 138.9)
XYZxyz(6.3906, 10.9273, 2.5829)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A17 #54176A
analogous
#576A17 #2D6A17 #176A2A
triadic
#2D6A17 #172D6A #6A172D
tetradic
#2D6A17 #17576A #54176A #6A2A17
square
#2D6A17 #17576A #54176A #6A2A17
split-complementary
#2D6A17 #2A176A #6A1757
monochromatic
#0B1905 #18380C #2D6A17 #429C22 #58CF2D

Accessibility & contrast

On white

6.59
#2D6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A17
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A17#FFFFFF#000000##FFFFFF
##2D6A171.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#27665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a17;
/* rgb */ color: rgb(45, 106, 23);
/* oklch */ color: oklch(46.6% 0.131 138.9);
Tailwind
colors: {
  custom: {
    50: '#6d955a',
    500: '#2d6a17',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a17;
$custom-light: #6d955a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a17",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 104.096,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.13061,
    "h": 138.9
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#2D6A17
secondary
#863DA0
accent
#40E7BB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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