#2D6716#2D6716

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

Color values

HEX#2D6716
RGBrgb(45, 103, 22)
HSLhsl(103, 65%, 25%)
HSVhsv(103, 79%, 40%)
CMYKcmyk(56.3%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.40, -34.56, 37.49)
CIE-LCHlch(38.40, 50.99, 132.67°)
OKLaboklab(45.75% -0.0954 0.0843)
OKLCHoklch(45.75% 0.127 138.5)
XYZxyz(6.0770, 10.3158, 2.4298)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6716 #501667
analogous
#566716 #2D6716 #166728
triadic
#2D6716 #162D67 #67162D
tetradic
#2D6716 #165667 #501667 #672816
square
#2D6716 #165667 #501667 #672816
split-complementary
#2D6716 #281667 #671656
monochromatic
#0B1905 #17350B #2D6716 #439921 #59CC2C

Accessibility & contrast

On white

6.86
#2D6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D6716
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6716#FFFFFF#000000##FFFFFF
##2D67161.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#286357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d6716;
/* rgb */ color: rgb(45, 103, 22);
/* oklch */ color: oklch(45.8% 0.127 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d935a',
    500: '#2d6716',
    950: '#000000',
  },
}
SCSS
$custom: #2d6716;
$custom-light: #6d935a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6716",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 102.963,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.12729,
    "h": 138.5
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#2D6716
secondary
#823B9E
accent
#40E8B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6716

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

Preview Lab → · Contrast checker → · Palette generator →

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