#2D7315#2D7315

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

Color values

HEX#2D7315
RGBrgb(45, 115, 21)
HSLhsl(105, 69%, 27%)
HSVhsv(105, 82%, 45%)
CMYKcmyk(60.9%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.57, -39.46, 41.90)
CIE-LCHlch(42.57, 57.56, 133.28°)
OKLaboklab(49.19% -0.1086 0.0933)
OKLCHoklch(49.19% 0.143 139.3)
XYZxyz(7.3480, 12.8729, 2.8068)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7315 #5B1573
analogous
#5C7315 #2D7315 #15732C
triadic
#2D7315 #152D73 #73152D
tetradic
#2D7315 #155C73 #5B1573 #732C15
square
#2D7315 #155C73 #5B1573 #732C15
split-complementary
#2D7315 #2C1573 #73155C
monochromatic
#0A1A05 #193F0C #2D7315 #41A71E #57D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7315#FFFFFF#000000##FFFFFF
##2D73151.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7315;
/* rgb */ color: rgb(45, 115, 21);
/* oklch */ color: oklch(49.2% 0.143 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f9c5b',
    500: '#2d7315',
    950: '#000000',
  },
}
SCSS
$custom: #2d7315;
$custom-light: #6f9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7315",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 104.681,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4919,
    "c": 0.14323,
    "h": 139.3
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#2D7315
secondary
#8D3BA9
accent
#3CECBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7315

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

Preview Lab → · Contrast checker → · Palette generator →

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