#2D7822#2D7822

#2D7822 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.141 H 141.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2D7822
RGBrgb(45, 120, 34)
HSLhsl(112, 56%, 30%)
HSVhsv(112, 72%, 47%)
CMYKcmyk(62.5%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.38, -40.36, 38.70)
CIE-LCHlch(44.38, 55.92, 136.21°)
OKLaboklab(50.72% -0.1103 0.0885)
OKLCHoklch(50.72% 0.141 141.2)
XYZxyz(8.0870, 14.1056, 3.8095)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7822 #6D2278
analogous
#587822 #2D7822 #227842
triadic
#2D7822 #222D78 #78222D
tetradic
#2D7822 #225878 #6D2278 #784222
square
#2D7822 #225878 #6D2278 #784222
split-complementary
#2D7822 #422278 #782258
monochromatic
#091907 #1B4814 #2D7822 #3FA830 #5ACB49

Accessibility & contrast

On white

5.50
#2D7822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2D7822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7822
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7822#FFFFFF#000000##FFFFFF
##2D78221.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#227467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7822;
/* rgb */ color: rgb(45, 120, 34);
/* oklch */ color: oklch(50.7% 0.141 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a062',
    500: '#2d7822',
    950: '#000000',
  },
}
SCSS
$custom: #2d7822;
$custom-light: #70a062;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7822",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 112.326,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.14141,
    "h": 141.2
  },
  "luminance": 0.14106
}

Semantic roles & 50–950 ramp

primary
#2D7822
secondary
#9F4BAB
accent
#49DFCC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2D7822

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

Preview Lab → · Contrast checker → · Palette generator →

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