#2D6018#2D6018

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

Color values

HEX#2D6018
RGBrgb(45, 96, 24)
HSLhsl(103, 60%, 24%)
HSVhsv(103, 75%, 38%)
CMYKcmyk(53.1%, 0%, 75%, 62.4%)
CIE-LABlab(35.96, -31.41, 34.20)
CIE-LCHlch(35.96, 46.44, 132.57°)
OKLaboklab(43.75% -0.0867 0.0777)
OKLCHoklch(43.75% 0.116 138.1)
XYZxyz(5.4297, 8.9892, 2.3129)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6018 #4B1860
analogous
#516018 #2D6018 #186027
triadic
#2D6018 #182D60 #60182D
tetradic
#2D6018 #185160 #4B1860 #602718
square
#2D6018 #185160 #4B1860 #602718
split-complementary
#2D6018 #271860 #601851
monochromatic
#0B1806 #162F0C #2D6018 #449124 #5BC230

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6018#FFFFFF#000000##FFFFFF
##2D60181.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)
#63570D
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#295C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6018;
/* rgb */ color: rgb(45, 96, 24);
/* oklch */ color: oklch(43.7% 0.116 138.1);
Tailwind
colors: {
  custom: {
    50: '#6c8e5a',
    500: '#2d6018',
    950: '#000000',
  },
}
SCSS
$custom: #2d6018;
$custom-light: #6c8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6018",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 102.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.11646,
    "h": 138.1
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#2D6018
secondary
#7C3D96
accent
#45E3B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6018

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

Preview Lab → · Contrast checker → · Palette generator →

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