#2D7A2E#2D7A2E

#2D7A2E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.135 H 143.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2D7A2E
RGBrgb(45, 122, 46)
HSLhsl(121, 46%, 33%)
HSVhsv(121, 63%, 48%)
CMYKcmyk(63.1%, 0%, 62.3%, 52.2%)
CIE-LABlab(45.18, -39.83, 34.03)
CIE-LCHlch(45.18, 52.38, 139.49°)
OKLaboklab(51.41% -0.1081 0.08)
OKLCHoklch(51.41% 0.135 143.5)
XYZxyz(8.5344, 14.6734, 4.9667)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A2E #7A2D79
analogous
#537A2D #2D7A2E #2D7A54
triadic
#2D7A2E #2E2D7A #7A2E2D
tetradic
#2D7A2E #2D537A #7A2D79 #7A542D
square
#2D7A2E #2D537A #7A2D79 #7A542D
split-complementary
#2D7A2E #542D7A #7A2D53
monochromatic
#0C210C #1D4D1D #2D7A2E #3DA73F #5EC45F

Accessibility & contrast

On white

5.34
#2D7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2D7A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A2E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A2E#FFFFFF#000000##FFFFFF
##2D7A2E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F26
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#1E776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a2e;
/* rgb */ color: rgb(45, 122, 46);
/* oklch */ color: oklch(51.4% 0.135 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fa16a',
    500: '#2d7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a2e;
$custom-light: #6fa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a2e",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 120.779,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51414,
    "c": 0.13451,
    "h": 143.5
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#2D7A2E
secondary
#AA59A9
accent
#52D4D6
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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