#2D6F17#2D6F17

#2D6F17 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.137 H 139.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2D6F17
RGBrgb(45, 111, 23)
HSLhsl(105, 66%, 26%)
HSVhsv(105, 79%, 44%)
CMYKcmyk(59.5%, 0%, 79.3%, 56.5%)
CIE-LABlab(41.20, -37.75, 39.87)
CIE-LCHlch(41.20, 54.90, 133.44°)
OKLaboklab(48.06% -0.1039 0.0894)
OKLCHoklch(48.06% 0.137 139.3)
XYZxyz(6.9210, 11.9880, 2.7597)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F17 #59176F
analogous
#596F17 #2D6F17 #176F2D
triadic
#2D6F17 #172D6F #6F172D
tetradic
#2D6F17 #17596F #59176F #6F2D17
square
#2D6F17 #17596F #59176F #6F2D17
split-complementary
#2D6F17 #2D176F #6F1759
monochromatic
#0A1905 #183C0C #2D6F17 #42A222 #57D32D

Accessibility & contrast

On white

6.18
#2D6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2D6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F17
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F17#FFFFFF#000000##FFFFFF
##2D6F171.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726504
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#266B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f17;
/* rgb */ color: rgb(45, 111, 23);
/* oklch */ color: oklch(48.1% 0.137 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e995b',
    500: '#2d6f17',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f17;
$custom-light: #6e995b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f17",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 105,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.13706,
    "h": 139.3
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#2D6F17
secondary
#8B3DA5
accent
#3FE9BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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