#2D6216#2D6216

#2D6216 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.121 H 138.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2D6216
RGBrgb(45, 98, 22)
HSLhsl(102, 63%, 24%)
HSVhsv(102, 78%, 38%)
CMYKcmyk(54.1%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.65, -32.45, 35.74)
CIE-LCHlch(36.65, 48.27, 132.24°)
OKLaboklab(44.31% -0.0897 0.0806)
OKLCHoklch(44.31% 0.121 138)
XYZxyz(5.5945, 9.3508, 2.2690)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6216 #4B1662
analogous
#536216 #2D6216 #166225
triadic
#2D6216 #162D62 #62162D
tetradic
#2D6216 #165362 #4B1662 #622516
square
#2D6216 #165362 #4B1662 #622516
split-complementary
#2D6216 #251662 #621653
monochromatic
#0B1906 #16300B #2D6216 #449421 #5BC62C

Accessibility & contrast

On white

7.32
#2D6216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D6216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6216
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6216#FFFFFF#000000##FFFFFF
##2D62161.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655908
Deuteranopia (green-blind)
#5E551E
Tritanopia (blue-blind)
#295E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6216;
/* rgb */ color: rgb(45, 98, 22);
/* oklch */ color: oklch(44.3% 0.121 138.0);
Tailwind
colors: {
  custom: {
    50: '#6c8f59',
    500: '#2d6216',
    950: '#000000',
  },
}
SCSS
$custom: #2d6216;
$custom-light: #6c8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6216",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 101.842,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.12059,
    "h": 138
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#2D6216
secondary
#7C3B99
accent
#41E6B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6216

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

Preview Lab → · Contrast checker → · Palette generator →

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