#2D7920#2D7920

#2D7920 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.144 H 141.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2D7920
RGBrgb(45, 121, 32)
HSLhsl(111, 58%, 30%)
HSVhsv(111, 74%, 47%)
CMYKcmyk(62.8%, 0%, 73.6%, 52.5%)
CIE-LABlab(44.71, -40.93, 39.88)
CIE-LCHlch(44.71, 57.15, 135.75°)
OKLaboklab(50.98% -0.1119 0.0907)
OKLCHoklch(50.98% 0.144 141)
XYZxyz(8.1799, 14.3362, 3.7023)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7920 #6C2079
analogous
#597920 #2D7920 #207940
triadic
#2D7920 #202D79 #79202D
tetradic
#2D7920 #205979 #6C2079 #794020
square
#2D7920 #205979 #6C2079 #794020
split-complementary
#2D7920 #402079 #792059
monochromatic
#091806 #1B4913 #2D7920 #3FA92D #59CE45

Accessibility & contrast

On white

5.43
#2D7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2D7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7920
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7920#FFFFFF#000000##FFFFFF
##2D79201.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E12
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#227567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7920;
/* rgb */ color: rgb(45, 121, 32);
/* oklch */ color: oklch(51.0% 0.144 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a061',
    500: '#2d7920',
    950: '#000000',
  },
}
SCSS
$custom: #2d7920;
$custom-light: #70a061;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7920",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 111.236,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50982,
    "c": 0.1441,
    "h": 141
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#2D7920
secondary
#9E49AC
accent
#46E1CB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2D7920

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

Preview Lab → · Contrast checker → · Palette generator →

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