#2D6F20#2D6F20

#2D6F20 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.131 H 140.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2D6F20
RGBrgb(45, 111, 32)
HSLhsl(110, 55%, 28%)
HSVhsv(110, 71%, 44%)
CMYKcmyk(59.5%, 0%, 71.2%, 56.5%)
CIE-LABlab(41.26, -36.98, 36.26)
CIE-LCHlch(41.26, 51.79, 135.56°)
OKLaboklab(48.14% -0.1012 0.0832)
OKLCHoklch(48.14% 0.131 140.6)
XYZxyz(7.0270, 12.0304, 3.3180)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F20 #62206F
analogous
#546F20 #2D6F20 #206F3B
triadic
#2D6F20 #202D6F #6F202D
tetradic
#2D6F20 #20546F #62206F #6F3B20
square
#2D6F20 #20546F #62206F #6F3B20
split-complementary
#2D6F20 #3B206F #6F2054
monochromatic
#0A1807 #1A3F12 #2D6F20 #409F2E #57C841

Accessibility & contrast

On white

6.17
#2D6F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2D6F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F20
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F20#FFFFFF#000000##FFFFFF
##2D6F201.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#256B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f20;
/* rgb */ color: rgb(45, 111, 32);
/* oklch */ color: oklch(48.1% 0.131 140.6);
Tailwind
colors: {
  custom: {
    50: '#6e9960',
    500: '#2d6f20',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f20;
$custom-light: #6e9960;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f20",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 110.127,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.13101,
    "h": 140.6
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#2D6F20
secondary
#9448A3
accent
#49DFC6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D6F20

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

Preview Lab → · Contrast checker → · Palette generator →

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