#2D6027#2D6027

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

Color values

HEX#2D6027
RGBrgb(45, 96, 39)
HSLhsl(114, 42%, 26%)
HSVhsv(114, 59%, 38%)
CMYKcmyk(53.1%, 0%, 59.4%, 62.4%)
CIE-LABlab(36.12, -29.73, 27.05)
CIE-LCHlch(36.12, 40.19, 137.71°)
OKLaboklab(43.93% -0.0811 0.0642)
OKLCHoklch(43.93% 0.103 141.6)
XYZxyz(5.6310, 9.0697, 3.3730)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6027 #5A2760
analogous
#4A6027 #2D6027 #27603E
triadic
#2D6027 #272D60 #60272D
tetradic
#2D6027 #274A60 #5A2760 #603E27
square
#2D6027 #274A60 #5A2760 #603E27
split-complementary
#2D6027 #3E2760 #60274A
monochromatic
#0A1609 #193415 #2D6027 #418C39 #57B64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6027#FFFFFF#000000##FFFFFF
##2D60271.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d6027;
/* rgb */ color: rgb(45, 96, 39);
/* oklch */ color: oklch(43.9% 0.103 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b8e63',
    500: '#2d6027',
    950: '#000000',
  },
}
SCSS
$custom: #2d6027;
$custom-light: #6b8e63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6027",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 39
  },
  "hsl": {
    "h": 113.684,
    "s": 42.222,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43925,
    "c": 0.10349,
    "h": 141.6
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#2D6027
secondary
#8C5093
accent
#56D2C5
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D6027

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

Preview Lab → · Contrast checker → · Palette generator →

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