#2D6916#2D6916

#2D6916 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.130 H 138.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2D6916
RGBrgb(45, 105, 22)
HSLhsl(103, 65%, 25%)
HSVhsv(103, 79%, 41%)
CMYKcmyk(57.1%, 0%, 79%, 58.8%)
CIE-LABlab(39.10, -35.39, 38.18)
CIE-LCHlch(39.10, 52.06, 132.83°)
OKLaboklab(46.33% -0.0976 0.0857)
OKLCHoklch(46.33% 0.13 138.7)
XYZxyz(6.2783, 10.7185, 2.4969)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6916 #521669
analogous
#576916 #2D6916 #166928
triadic
#2D6916 #162D69 #69162D
tetradic
#2D6916 #165769 #521669 #692816
square
#2D6916 #165769 #521669 #692816
split-complementary
#2D6916 #281669 #691657
monochromatic
#0B1905 #17360B #2D6916 #439C21 #58CE2B

Accessibility & contrast

On white

6.68
#2D6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2D6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6916
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6916#FFFFFF#000000##FFFFFF
##2D69161.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#276559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d6916;
/* rgb */ color: rgb(45, 105, 22);
/* oklch */ color: oklch(46.3% 0.130 138.7);
Tailwind
colors: {
  custom: {
    50: '#6d945a',
    500: '#2d6916',
    950: '#000000',
  },
}
SCSS
$custom: #2d6916;
$custom-light: #6d945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6916",
  "rgb": {
    "r": 45,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 103.373,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46329,
    "c": 0.12991,
    "h": 138.7
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#2D6916
secondary
#843B9F
accent
#3FE8BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6916

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

Preview Lab → · Contrast checker → · Palette generator →

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