#2D6317#2D6317

#2D6317 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.6% C 0.121 H 138.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2D6317
RGBrgb(45, 99, 23)
HSLhsl(103, 62%, 24%)
HSVhsv(103, 77%, 39%)
CMYKcmyk(54.5%, 0%, 76.8%, 61.2%)
CIE-LABlab(37.01, -32.79, 35.69)
CIE-LCHlch(37.01, 48.47, 132.58°)
OKLaboklab(44.61% -0.0905 0.0807)
OKLCHoklch(44.61% 0.121 138.3)
XYZxyz(5.6985, 9.5430, 2.3521)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6317 #4D1763
analogous
#536317 #2D6317 #176327
triadic
#2D6317 #172D63 #63172D
tetradic
#2D6317 #175363 #4D1763 #632717
square
#2D6317 #175363 #4D1763 #632717
split-complementary
#2D6317 #271763 #631753
monochromatic
#0B1906 #16310B #2D6317 #449523 #5AC62E

Accessibility & contrast

On white

7.22
#2D6317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D6317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6317
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6317#FFFFFF#000000##FFFFFF
##2D63171.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#295F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d6317;
/* rgb */ color: rgb(45, 99, 23);
/* oklch */ color: oklch(44.6% 0.121 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c9059',
    500: '#2d6317',
    950: '#000000',
  },
}
SCSS
$custom: #2d6317;
$custom-light: #6c9059;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6317",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 102.632,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.12128,
    "h": 138.3
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#2D6317
secondary
#7F3C9A
accent
#42E5B6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6317

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

Preview Lab → · Contrast checker → · Palette generator →

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