#2D7922#2D7922

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

Color values

HEX#2D7922
RGBrgb(45, 121, 34)
HSLhsl(112, 56%, 30%)
HSVhsv(112, 72%, 47%)
CMYKcmyk(62.8%, 0%, 71.9%, 52.5%)
CIE-LABlab(44.73, -40.75, 39.06)
CIE-LCHlch(44.73, 56.45, 136.21°)
OKLaboklab(51% -0.1113 0.0893)
OKLCHoklch(51% 0.143 141.3)
XYZxyz(8.2079, 14.3474, 3.8498)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7922 #6E2279
analogous
#587922 #2D7922 #227942
triadic
#2D7922 #222D79 #79222D
tetradic
#2D7922 #225879 #6E2279 #794222
square
#2D7922 #225879 #6E2279 #794222
split-complementary
#2D7922 #422279 #792258
monochromatic
#091907 #1B4915 #2D7922 #3FA92F #5ACC49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7922#FFFFFF#000000##FFFFFF
##2D79221.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)
#7C6E15
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#217568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7922;
/* rgb */ color: rgb(45, 121, 34);
/* oklch */ color: oklch(51.0% 0.143 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a062',
    500: '#2d7922',
    950: '#000000',
  },
}
SCSS
$custom: #2d7922;
$custom-light: #70a062;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7922",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 112.414,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51,
    "c": 0.14271,
    "h": 141.3
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#2D7922
secondary
#A04BAC
accent
#48DFCC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2D7922

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

Preview Lab → · Contrast checker → · Palette generator →

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