#2D6815#2D6815

#2D6815 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.129 H 138.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2D6815
RGBrgb(45, 104, 21)
HSLhsl(103, 66%, 25%)
HSVhsv(103, 80%, 41%)
CMYKcmyk(56.7%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.75, -35.05, 38.21)
CIE-LCHlch(38.75, 51.85, 132.53°)
OKLaboklab(46.03% -0.0968 0.0856)
OKLCHoklch(46.03% 0.129 138.5)
XYZxyz(6.1676, 10.5122, 2.4134)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6815 #501568
analogous
#576815 #2D6815 #156827
triadic
#2D6815 #152D68 #68152D
tetradic
#2D6815 #155768 #501568 #682715
square
#2D6815 #155768 #501568 #682715
split-complementary
#2D6815 #271568 #681557
monochromatic
#0B1905 #17350B #2D6815 #439B1F #59CE2A

Accessibility & contrast

On white

6.77
#2D6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6815
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6815#FFFFFF#000000##FFFFFF
##2D68151.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#286458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d6815;
/* rgb */ color: rgb(45, 104, 21);
/* oklch */ color: oklch(46.0% 0.129 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d9459',
    500: '#2d6815',
    950: '#000000',
  },
}
SCSS
$custom: #2d6815;
$custom-light: #6d9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6815",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 102.651,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.12921,
    "h": 138.5
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#2D6815
secondary
#823A9F
accent
#3EE9B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6815

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

Preview Lab → · Contrast checker → · Palette generator →

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