#2D6B17#2D6B17

#2D6B17 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.132 H 139.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2D6B17
RGBrgb(45, 107, 23)
HSLhsl(104, 65%, 25%)
HSVhsv(104, 79%, 42%)
CMYKcmyk(57.9%, 0%, 78.5%, 58%)
CIE-LABlab(39.81, -36.13, 38.50)
CIE-LCHlch(39.81, 52.80, 133.19°)
OKLaboklab(46.91% -0.0996 0.0865)
OKLCHoklch(46.91% 0.132 139)
XYZxyz(6.4943, 11.1346, 2.6174)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6B17 #55176B
analogous
#576B17 #2D6B17 #176B2B
triadic
#2D6B17 #172D6B #6B172D
tetradic
#2D6B17 #17576B #55176B #6B2B17
square
#2D6B17 #17576B #55176B #6B2B17
split-complementary
#2D6B17 #2B176B #6B1757
monochromatic
#0B1905 #18390C #2D6B17 #429D22 #57D02D

Accessibility & contrast

On white

6.51
#2D6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6B17
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6B17#FFFFFF#000000##FFFFFF
##2D6B171.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#665C20
Tritanopia (blue-blind)
#27675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d6b17;
/* rgb */ color: rgb(45, 107, 23);
/* oklch */ color: oklch(46.9% 0.132 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e965b',
    500: '#2d6b17',
    950: '#000000',
  },
}
SCSS
$custom: #2d6b17;
$custom-light: #6e965b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6b17",
  "rgb": {
    "r": 45,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 104.286,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.13191,
    "h": 139
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#2D6B17
secondary
#873DA1
accent
#40E8BC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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