#2D6021#2D6021

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

Color values

HEX#2D6021
RGBrgb(45, 96, 33)
HSLhsl(109, 49%, 25%)
HSVhsv(109, 66%, 38%)
CMYKcmyk(53.1%, 0%, 65.6%, 62.4%)
CIE-LABlab(36.05, -30.49, 30.08)
CIE-LCHlch(36.05, 42.83, 135.39°)
OKLaboklab(43.85% -0.0836 0.0702)
OKLCHoklch(43.85% 0.109 140)
XYZxyz(5.5393, 9.0330, 2.8902)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6021 #542160
analogous
#4D6021 #2D6021 #216034
triadic
#2D6021 #212D60 #60212D
tetradic
#2D6021 #214D60 #542160 #603421
square
#2D6021 #214D60 #542160 #603421
split-complementary
#2D6021 #342160 #60214D
monochromatic
#0B1708 #183211 #2D6021 #428E31 #58BB40

Accessibility & contrast

On white

7.48
#2D6021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D6021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6021
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6021#FFFFFF#000000##FFFFFF
##2D60211.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581A
Deuteranopia (green-blind)
#5C5326
Tritanopia (blue-blind)
#285D53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6021;
/* rgb */ color: rgb(45, 96, 33);
/* oklch */ color: oklch(43.8% 0.109 140.0);
Tailwind
colors: {
  custom: {
    50: '#6b8e5f',
    500: '#2d6021',
    950: '#000000',
  },
}
SCSS
$custom: #2d6021;
$custom-light: #6b8e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6021",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 33
  },
  "hsl": {
    "h": 108.571,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.10914,
    "h": 140
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#2D6021
secondary
#864994
accent
#4FD8BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D6021

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

Preview Lab → · Contrast checker → · Palette generator →

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