#2D6816#2D6816

#2D6816 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.129 H 138.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2D6816
RGBrgb(45, 104, 22)
HSLhsl(103, 65%, 25%)
HSVhsv(103, 79%, 41%)
CMYKcmyk(56.7%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.75, -34.98, 37.84)
CIE-LCHlch(38.75, 51.53, 132.75°)
OKLaboklab(46.04% -0.0965 0.085)
OKLCHoklch(46.04% 0.129 138.6)
XYZxyz(6.1771, 10.5160, 2.4632)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6816 #511668
analogous
#566816 #2D6816 #166828
triadic
#2D6816 #162D68 #68162D
tetradic
#2D6816 #165668 #511668 #682816
square
#2D6816 #165668 #511668 #682816
split-complementary
#2D6816 #281668 #681656
monochromatic
#0B1905 #17350B #2D6816 #439B21 #59CD2B

Accessibility & contrast

On white

6.77
#2D6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6816
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6816#FFFFFF#000000##FFFFFF
##2D68161.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#286458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d6816;
/* rgb */ color: rgb(45, 104, 22);
/* oklch */ color: oklch(46.0% 0.129 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d945a',
    500: '#2d6816',
    950: '#000000',
  },
}
SCSS
$custom: #2d6816;
$custom-light: #6d945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6816",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 103.171,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.1286,
    "h": 138.6
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#2D6816
secondary
#833B9F
accent
#40E8B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6816

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

Preview Lab → · Contrast checker → · Palette generator →

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