#2D7317#2D7317

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

Color values

HEX#2D7317
RGBrgb(45, 115, 23)
HSLhsl(106, 67%, 27%)
HSVhsv(106, 80%, 45%)
CMYKcmyk(60.9%, 0%, 80%, 54.9%)
CIE-LABlab(42.58, -39.33, 41.22)
CIE-LCHlch(42.58, 56.97, 133.65°)
OKLaboklab(49.2% -0.1081 0.0922)
OKLCHoklch(49.2% 0.142 139.5)
XYZxyz(7.3673, 12.8806, 2.9084)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7317 #5D1773
analogous
#5B7317 #2D7317 #17732F
triadic
#2D7317 #172D73 #73172D
tetradic
#2D7317 #175B73 #5D1773 #732F17
square
#2D7317 #175B73 #5D1773 #732F17
split-complementary
#2D7317 #2F1773 #73175B
monochromatic
#0A1A05 #19400D #2D7317 #41A621 #57D52F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7317#FFFFFF#000000##FFFFFF
##2D73171.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)
#766802
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#256F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7317;
/* rgb */ color: rgb(45, 115, 23);
/* oklch */ color: oklch(49.2% 0.142 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f9c5c',
    500: '#2d7317',
    950: '#000000',
  },
}
SCSS
$custom: #2d7317;
$custom-light: #6f9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7317",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 105.652,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.14213,
    "h": 139.5
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#2D7317
secondary
#8F3DA9
accent
#3EEAC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7317

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

Preview Lab → · Contrast checker → · Palette generator →

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