#2D6015#2D6015

#2D6015 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.119 H 137.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2D6015
RGBrgb(45, 96, 21)
HSLhsl(101, 64%, 23%)
HSVhsv(101, 78%, 38%)
CMYKcmyk(53.1%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.94, -31.66, 35.43)
CIE-LCHlch(35.94, 47.52, 131.79°)
OKLaboklab(43.72% -0.0876 0.0798)
OKLCHoklch(43.72% 0.119 137.7)
XYZxyz(5.4002, 8.9774, 2.1576)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6015 #481560
analogous
#526015 #2D6015 #156022
triadic
#2D6015 #152D60 #60152D
tetradic
#2D6015 #155260 #481560 #602215
square
#2D6015 #155260 #481560 #602215
split-complementary
#2D6015 #221560 #601552
monochromatic
#0C1905 #152E0A #2D6015 #459220 #5CC42B

Accessibility & contrast

On white

7.51
#2D6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2D6015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6015
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6015#FFFFFF#000000##FFFFFF
##2D60151.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#295C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6015;
/* rgb */ color: rgb(45, 96, 21);
/* oklch */ color: oklch(43.7% 0.119 137.7);
Tailwind
colors: {
  custom: {
    50: '#6c8e58',
    500: '#2d6015',
    950: '#000000',
  },
}
SCSS
$custom: #2d6015;
$custom-light: #6c8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6015",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 100.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43723,
    "c": 0.11854,
    "h": 137.7
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#2D6015
secondary
#793A97
accent
#41E7B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6015

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

Preview Lab → · Contrast checker → · Palette generator →

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