#2D7416#2D7416

#2D7416 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.144 H 139.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2D7416
RGBrgb(45, 116, 22)
HSLhsl(105, 68%, 27%)
HSVhsv(105, 81%, 45%)
CMYKcmyk(61.2%, 0%, 81%, 54.5%)
CIE-LABlab(42.92, -39.78, 41.90)
CIE-LCHlch(42.92, 57.78, 133.52°)
OKLaboklab(49.48% -0.1094 0.0935)
OKLCHoklch(49.48% 0.144 139.5)
XYZxyz(7.4721, 13.1059, 2.8948)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7416 #5D1674
analogous
#5C7416 #2D7416 #16742E
triadic
#2D7416 #162D74 #74162D
tetradic
#2D7416 #165C74 #5D1674 #742E16
square
#2D7416 #165C74 #5D1674 #742E16
split-complementary
#2D7416 #2E1674 #74165C
monochromatic
#0A1A05 #19410C #2D7416 #41A720 #57D72D

Accessibility & contrast

On white

5.80
#2D7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2D7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7416
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7416#FFFFFF#000000##FFFFFF
##2D74161.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#257062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7416;
/* rgb */ color: rgb(45, 116, 22);
/* oklch */ color: oklch(49.5% 0.144 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f9d5b',
    500: '#2d7416',
    950: '#000000',
  },
}
SCSS
$custom: #2d7416;
$custom-light: #6f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7416",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 105.319,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.14393,
    "h": 139.5
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#2D7416
secondary
#8F3CAA
accent
#3DEBC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7416

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

Preview Lab → · Contrast checker → · Palette generator →

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