#2D6215#2D6215

#2D6215 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.3% C 0.121 H 137.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2D6215
RGBrgb(45, 98, 21)
HSLhsl(101, 65%, 23%)
HSVhsv(101, 79%, 38%)
CMYKcmyk(54.1%, 0%, 78.6%, 61.6%)
CIE-LABlab(36.64, -32.53, 36.13)
CIE-LCHlch(36.64, 48.62, 131.99°)
OKLaboklab(44.3% -0.09 0.0813)
OKLCHoklch(44.3% 0.121 137.9)
XYZxyz(5.5850, 9.3470, 2.2192)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6215 #4A1562
analogous
#536215 #2D6215 #156223
triadic
#2D6215 #152D62 #62152D
tetradic
#2D6215 #155362 #4A1562 #622315
square
#2D6215 #155362 #4A1562 #622315
split-complementary
#2D6215 #231562 #621553
monochromatic
#0C1905 #16300A #2D6215 #449420 #5BC72B

Accessibility & contrast

On white

7.32
#2D6215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D6215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6215
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6215#FFFFFF#000000##FFFFFF
##2D62151.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655906
Deuteranopia (green-blind)
#5E551D
Tritanopia (blue-blind)
#295E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6215;
/* rgb */ color: rgb(45, 98, 21);
/* oklch */ color: oklch(44.3% 0.121 137.9);
Tailwind
colors: {
  custom: {
    50: '#6c8f58',
    500: '#2d6215',
    950: '#000000',
  },
}
SCSS
$custom: #2d6215;
$custom-light: #6c8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6215",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 101.299,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.12125,
    "h": 137.9
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#2D6215
secondary
#7B3A99
accent
#40E8B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6215

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

Preview Lab → · Contrast checker → · Palette generator →

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