#2D6019#2D6019

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

Color values

HEX#2D6019
RGBrgb(45, 96, 25)
HSLhsl(103, 59%, 24%)
HSVhsv(103, 74%, 38%)
CMYKcmyk(53.1%, 0%, 74%, 62.4%)
CIE-LABlab(35.97, -31.32, 33.77)
CIE-LCHlch(35.97, 46.06, 132.84°)
OKLaboklab(43.76% -0.0864 0.077)
OKLCHoklch(43.76% 0.116 138.3)
XYZxyz(5.4403, 8.9934, 2.3687)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6019 #4C1960
analogous
#506019 #2D6019 #196028
triadic
#2D6019 #192D60 #60192D
tetradic
#2D6019 #195060 #4C1960 #602819
square
#2D6019 #195060 #4C1960 #602819
split-complementary
#2D6019 #281960 #601950
monochromatic
#0B1806 #162F0C #2D6019 #449126 #5BC132

Accessibility & contrast

On white

7.50
#2D6019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D6019
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6019#FFFFFF#000000##FFFFFF
##2D60191.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570E
Deuteranopia (green-blind)
#5C5320
Tritanopia (blue-blind)
#295D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6019;
/* rgb */ color: rgb(45, 96, 25);
/* oklch */ color: oklch(43.8% 0.116 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c8e5a',
    500: '#2d6019',
    950: '#000000',
  },
}
SCSS
$custom: #2d6019;
$custom-light: #6c8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6019",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 25
  },
  "hsl": {
    "h": 103.099,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.11572,
    "h": 138.3
  },
  "luminance": 0.08994
}

Semantic roles & 50–950 ramp

primary
#2D6019
secondary
#7D3F96
accent
#46E2B6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6019

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

Preview Lab → · Contrast checker → · Palette generator →

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