#2D6A2D#2D6A2D

#2D6A2D is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.9% C 0.113 H 143.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2D6A2D
RGBrgb(45, 106, 45)
HSLhsl(120, 40%, 30%)
HSVhsv(120, 58%, 42%)
CMYKcmyk(57.5%, 0%, 57.5%, 58.4%)
CIE-LABlab(39.67, -33.33, 28.08)
CIE-LCHlch(39.67, 43.58, 139.88°)
OKLaboklab(46.87% -0.0906 0.067)
OKLCHoklch(46.87% 0.113 143.5)
XYZxyz(6.7095, 11.0549, 4.2623)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A2D #6A2D6A
analogous
#4C6A2D #2D6A2D #2D6A4C
triadic
#2D6A2D #2D2D6A #6A2D2D
tetradic
#2D6A2D #2D4C6A #6A2D6A #6A4C2D
square
#2D6A2D #2D4C6A #6A2D6A #6A4C2D
split-complementary
#2D6A2D #4C2D6A #6A2D4C
monochromatic
#091509 #1B3F1B #2D6A2D #3F953F #59B859

Accessibility & contrast

On white

6.54
#2D6A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2D6A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A2D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A2D#FFFFFF#000000##FFFFFF
##2D6A2D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6127
Deuteranopia (green-blind)
#645B32
Tritanopia (blue-blind)
#23675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a2d;
/* rgb */ color: rgb(45, 106, 45);
/* oklch */ color: oklch(46.9% 0.113 143.5);
Tailwind
colors: {
  custom: {
    50: '#6c9568',
    500: '#2d6a2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a2d;
$custom-light: #6c9568;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a2d",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4687,
    "c": 0.11266,
    "h": 143.5
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#2D6A2D
secondary
#9C579C
accent
#58D0D0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2D6A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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