#2D6A20#2D6A20

#2D6A20 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.124 H 140.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2D6A20
RGBrgb(45, 106, 32)
HSLhsl(109, 54%, 27%)
HSVhsv(109, 70%, 42%)
CMYKcmyk(57.5%, 0%, 69.8%, 58.4%)
CIE-LABlab(39.53, -34.92, 34.40)
CIE-LCHlch(39.53, 49.02, 135.43°)
OKLaboklab(46.71% -0.0957 0.0792)
OKLCHoklch(46.71% 0.124 140.4)
XYZxyz(6.4966, 10.9697, 3.1412)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A20 #5D206A
analogous
#526A20 #2D6A20 #206A38
triadic
#2D6A20 #202D6A #6A202D
tetradic
#2D6A20 #20526A #5D206A #6A3820
square
#2D6A20 #20526A #5D206A #6A3820
split-complementary
#2D6A20 #38206A #6A2052
monochromatic
#0A1807 #193B12 #2D6A20 #41992E #57C53F

Accessibility & contrast

On white

6.57
#2D6A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D6A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A20
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A20#FFFFFF#000000##FFFFFF
##2D6A201.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6016
Deuteranopia (green-blind)
#655B27
Tritanopia (blue-blind)
#26665B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a20;
/* rgb */ color: rgb(45, 106, 32);
/* oklch */ color: oklch(46.7% 0.124 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d955f',
    500: '#2d6a20',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a20;
$custom-light: #6d955f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a20",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 109.459,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46706,
    "c": 0.12421,
    "h": 140.4
  },
  "luminance": 0.1097
}

Semantic roles & 50–950 ramp

primary
#2D6A20
secondary
#8F489E
accent
#4BDDC3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2D6A20

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

Preview Lab → · Contrast checker → · Palette generator →

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