#2D6615#2D6615

#2D6615 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.5% C 0.127 H 138.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2D6615
RGBrgb(45, 102, 21)
HSLhsl(102, 66%, 24%)
HSVhsv(102, 79%, 40%)
CMYKcmyk(55.9%, 0%, 79.4%, 60%)
CIE-LABlab(38.05, -34.22, 37.52)
CIE-LCHlch(38.05, 50.78, 132.37°)
OKLaboklab(45.46% -0.0945 0.0842)
OKLCHoklch(45.46% 0.127 138.3)
XYZxyz(5.9687, 10.1143, 2.3471)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6615 #4E1566
analogous
#566615 #2D6615 #156626
triadic
#2D6615 #152D66 #66152D
tetradic
#2D6615 #155666 #4E1566 #662615
square
#2D6615 #155666 #4E1566 #662615
split-complementary
#2D6615 #261566 #661556
monochromatic
#0B1905 #17330B #2D6615 #43991F #5ACC2A

Accessibility & contrast

On white

6.95
#2D6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6615
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6615#FFFFFF#000000##FFFFFF
##2D66151.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C05
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#286257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d6615;
/* rgb */ color: rgb(45, 102, 21);
/* oklch */ color: oklch(45.5% 0.127 138.3);
Tailwind
colors: {
  custom: {
    50: '#6d9259',
    500: '#2d6615',
    950: '#000000',
  },
}
SCSS
$custom: #2d6615;
$custom-light: #6d9259;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6615",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 102.222,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45457,
    "c": 0.12659,
    "h": 138.3
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#2D6615
secondary
#803A9D
accent
#3FE9B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6615

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

Preview Lab → · Contrast checker → · Palette generator →

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