#2D7313#2D7313

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

Color values

HEX#2D7313
RGBrgb(45, 115, 19)
HSLhsl(104, 72%, 26%)
HSVhsv(104, 83%, 45%)
CMYKcmyk(60.9%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.56, -39.59, 42.55)
CIE-LCHlch(42.56, 58.12, 132.93°)
OKLaboklab(49.18% -0.1091 0.0944)
OKLCHoklch(49.18% 0.144 139.1)
XYZxyz(7.3302, 12.8657, 2.7130)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7313 #591373
analogous
#5D7313 #2D7313 #137329
triadic
#2D7313 #132D73 #73132D
tetradic
#2D7313 #135D73 #591373 #732913
square
#2D7313 #135D73 #591373 #732913
split-complementary
#2D7313 #291373 #73135D
monochromatic
#0A1A04 #183E0A #2D7313 #42A81C #57DB25

Accessibility & contrast

On white

5.88
#2D7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2D7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7313
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7313#FFFFFF#000000##FFFFFF
##2D73131.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#256F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7313;
/* rgb */ color: rgb(45, 115, 19);
/* oklch */ color: oklch(49.2% 0.144 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f9c5a',
    500: '#2d7313',
    950: '#000000',
  },
}
SCSS
$custom: #2d7313;
$custom-light: #6f9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7313",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 103.75,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.14425,
    "h": 139.1
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#2D7313
secondary
#8B38AA
accent
#39EEBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7313

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

Preview Lab → · Contrast checker → · Palette generator →

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