#2D6E20#2D6E20

#2D6E20 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.130 H 140.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2D6E20
RGBrgb(45, 110, 32)
HSLhsl(110, 55%, 28%)
HSVhsv(110, 71%, 43%)
CMYKcmyk(59.1%, 0%, 70.9%, 56.9%)
CIE-LABlab(40.92, -36.57, 35.89)
CIE-LCHlch(40.92, 51.24, 135.54°)
OKLaboklab(47.85% -0.1001 0.0824)
OKLCHoklch(47.85% 0.13 140.6)
XYZxyz(6.9185, 11.8134, 3.2819)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E20 #61206E
analogous
#546E20 #2D6E20 #206E3A
triadic
#2D6E20 #202D6E #6E202D
tetradic
#2D6E20 #20546E #61206E #6E3A20
square
#2D6E20 #20546E #61206E #6E3A20
split-complementary
#2D6E20 #3A206E #6E2054
monochromatic
#0A1807 #1A3F12 #2D6E20 #409D2E #57C841

Accessibility & contrast

On white

6.24
#2D6E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2D6E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E20
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E20#FFFFFF#000000##FFFFFF
##2D6E201.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#695E27
Tritanopia (blue-blind)
#256A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6e20;
/* rgb */ color: rgb(45, 110, 32);
/* oklch */ color: oklch(47.9% 0.130 140.6);
Tailwind
colors: {
  custom: {
    50: '#6e9860',
    500: '#2d6e20',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e20;
$custom-light: #6e9860;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e20",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 110,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.12966,
    "h": 140.6
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#2D6E20
secondary
#9348A2
accent
#4ADEC5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D6E20

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

Preview Lab → · Contrast checker → · Palette generator →

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