#2D7415#2D7415

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

Color values

HEX#2D7415
RGBrgb(45, 116, 21)
HSLhsl(105, 69%, 27%)
HSVhsv(105, 82%, 45%)
CMYKcmyk(61.2%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.92, -39.85, 42.23)
CIE-LCHlch(42.92, 58.07, 133.34°)
OKLaboklab(49.48% -0.1097 0.094)
OKLCHoklch(49.48% 0.144 139.4)
XYZxyz(7.4626, 13.1022, 2.8450)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7415 #5C1574
analogous
#5D7415 #2D7415 #15742D
triadic
#2D7415 #152D74 #74152D
tetradic
#2D7415 #155D74 #5C1574 #742D15
square
#2D7415 #155D74 #5C1574 #742D15
split-complementary
#2D7415 #2D1574 #74155D
monochromatic
#0A1A05 #19400C #2D7415 #41A81E #57D92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7415#FFFFFF#000000##FFFFFF
##2D74151.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)
#6F6320
Tritanopia (blue-blind)
#257062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7415;
/* rgb */ color: rgb(45, 116, 21);
/* oklch */ color: oklch(49.5% 0.144 139.4);
Tailwind
colors: {
  custom: {
    50: '#6f9d5b',
    500: '#2d7415',
    950: '#000000',
  },
}
SCSS
$custom: #2d7415;
$custom-light: #6f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7415",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 104.842,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.14447,
    "h": 139.4
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#2D7415
secondary
#8E3BAA
accent
#3CECC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7415

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

Preview Lab → · Contrast checker → · Palette generator →

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