#2D6C16#2D6C16

#2D6C16 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.134 H 139.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2D6C16
RGBrgb(45, 108, 22)
HSLhsl(104, 66%, 25%)
HSVhsv(104, 80%, 42%)
CMYKcmyk(58.3%, 0%, 79.6%, 57.6%)
CIE-LABlab(40.15, -36.62, 39.21)
CIE-LCHlch(40.15, 53.65, 133.04°)
OKLaboklab(47.19% -0.1009 0.0879)
OKLCHoklch(47.19% 0.134 139)
XYZxyz(6.5893, 11.3404, 2.6006)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6C16 #55166C
analogous
#586C16 #2D6C16 #166C2A
triadic
#2D6C16 #162D6C #6C162D
tetradic
#2D6C16 #16586C #55166C #6C2A16
square
#2D6C16 #16586C #55166C #6C2A16
split-complementary
#2D6C16 #2A166C #6C1658
monochromatic
#0B1905 #18390C #2D6C16 #429F20 #57D22B

Accessibility & contrast

On white

6.43
#2D6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2D6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6C16
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6C16#FFFFFF#000000##FFFFFF
##2D6C161.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6204
Deuteranopia (green-blind)
#675D1F
Tritanopia (blue-blind)
#27685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6c16;
/* rgb */ color: rgb(45, 108, 22);
/* oklch */ color: oklch(47.2% 0.134 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e975a',
    500: '#2d6c16',
    950: '#000000',
  },
}
SCSS
$custom: #2d6c16;
$custom-light: #6e975a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6c16",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 103.953,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.13381,
    "h": 139
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#2D6C16
secondary
#873CA2
accent
#3FE9BC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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