#2D6017#2D6017

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

Color values

HEX#2D6017
RGBrgb(45, 96, 23)
HSLhsl(102, 61%, 23%)
HSVhsv(102, 76%, 38%)
CMYKcmyk(53.1%, 0%, 76%, 62.4%)
CIE-LABlab(35.96, -31.50, 34.62)
CIE-LCHlch(35.96, 46.81, 132.30°)
OKLaboklab(43.74% -0.087 0.0784)
OKLCHoklch(43.74% 0.117 138)
XYZxyz(5.4195, 8.9851, 2.2592)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6017 #4A1760
analogous
#516017 #2D6017 #176025
triadic
#2D6017 #172D60 #60172D
tetradic
#2D6017 #175160 #4A1760 #602517
square
#2D6017 #175160 #4A1760 #602517
split-complementary
#2D6017 #251760 #601751
monochromatic
#0C1906 #162F0B #2D6017 #449123 #5BC32F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6017#FFFFFF#000000##FFFFFF
##2D60171.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)
#63570B
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#295C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6017;
/* rgb */ color: rgb(45, 96, 23);
/* oklch */ color: oklch(43.7% 0.117 138.0);
Tailwind
colors: {
  custom: {
    50: '#6c8e59',
    500: '#2d6017',
    950: '#000000',
  },
}
SCSS
$custom: #2d6017;
$custom-light: #6c8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6017",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 101.918,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4374,
    "c": 0.11717,
    "h": 138
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#2D6017
secondary
#7B3C97
accent
#43E4B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6017

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

Preview Lab → · Contrast checker → · Palette generator →

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