#2D7319#2D7319

#2D7319 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.141 H 139.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2D7319
RGBrgb(45, 115, 25)
HSLhsl(107, 64%, 27%)
HSVhsv(107, 78%, 45%)
CMYKcmyk(60.9%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.60, -39.18, 40.50)
CIE-LCHlch(42.60, 56.35, 134.05°)
OKLaboklab(49.22% -0.1076 0.091)
OKLCHoklch(49.22% 0.141 139.8)
XYZxyz(7.3881, 12.8889, 3.0180)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7319 #5F1973
analogous
#5A7319 #2D7319 #197332
triadic
#2D7319 #192D73 #73192D
tetradic
#2D7319 #195A73 #5F1973 #733219
square
#2D7319 #195A73 #5F1973 #733219
split-complementary
#2D7319 #321973 #73195A
monochromatic
#0A1905 #19410E #2D7319 #41A524 #57D334

Accessibility & contrast

On white

5.87
#2D7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2D7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7319
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7319#FFFFFF#000000##FFFFFF
##2D73191.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#246F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7319;
/* rgb */ color: rgb(45, 115, 25);
/* oklch */ color: oklch(49.2% 0.141 139.8);
Tailwind
colors: {
  custom: {
    50: '#6f9c5d',
    500: '#2d7319',
    950: '#000000',
  },
}
SCSS
$custom: #2d7319;
$custom-light: #6f9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7319",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 106.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.14096,
    "h": 139.8
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#2D7319
secondary
#9140A8
accent
#41E7C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7319

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

Preview Lab → · Contrast checker → · Palette generator →

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