#2D6028#2D6028

#2D6028 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.102 H 141.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2D6028
RGBrgb(45, 96, 40)
HSLhsl(115, 41%, 27%)
HSVhsv(115, 58%, 38%)
CMYKcmyk(53.1%, 0%, 58.3%, 62.4%)
CIE-LABlab(36.13, -29.59, 26.52)
CIE-LCHlch(36.13, 39.74, 138.13°)
OKLaboklab(43.94% -0.0807 0.0632)
OKLCHoklch(43.94% 0.103 141.9)
XYZxyz(5.6478, 9.0764, 3.4614)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6028 #5B2860
analogous
#496028 #2D6028 #28603F
triadic
#2D6028 #282D60 #60282D
tetradic
#2D6028 #284960 #5B2860 #603F28
square
#2D6028 #284960 #5B2860 #603F28
split-complementary
#2D6028 #3F2860 #602849
monochromatic
#0A1609 #193516 #2D6028 #418B3A #57B54D

Accessibility & contrast

On white

7.46
#2D6028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2D6028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6028
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6028#FFFFFF#000000##FFFFFF
##2D60281.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625823
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#275D53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6028;
/* rgb */ color: rgb(45, 96, 40);
/* oklch */ color: oklch(43.9% 0.102 141.9);
Tailwind
colors: {
  custom: {
    50: '#6b8e63',
    500: '#2d6028',
    950: '#000000',
  },
}
SCSS
$custom: #2d6028;
$custom-light: #6b8e63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6028",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 40
  },
  "hsl": {
    "h": 114.643,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.1025,
    "h": 141.9
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#2D6028
secondary
#8D5193
accent
#57D1C6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #2D6028

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

Preview Lab → · Contrast checker → · Palette generator →

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