#2D7B2E#2D7B2E

#2D7B2E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.136 H 143.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2D7B2E
RGBrgb(45, 123, 46)
HSLhsl(121, 46%, 33%)
HSVhsv(121, 63%, 48%)
CMYKcmyk(63.4%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.52, -40.22, 34.42)
CIE-LCHlch(45.52, 52.94, 139.44°)
OKLaboklab(51.7% -0.1092 0.0808)
OKLCHoklch(51.7% 0.136 143.5)
XYZxyz(8.6578, 14.9202, 5.0079)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B2E #7B2D7A
analogous
#537B2D #2D7B2E #2D7B55
triadic
#2D7B2E #2E2D7B #7B2E2D
tetradic
#2D7B2E #2D537B #7B2D7A #7B552D
square
#2D7B2E #2D537B #7B2D7A #7B552D
split-complementary
#2D7B2E #552D7B #7B2D53
monochromatic
#0C210C #1D4E1D #2D7B2E #3DA83F #5EC460

Accessibility & contrast

On white

5.27
#2D7B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2D7B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B2E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B2E#FFFFFF#000000##FFFFFF
##2D7B2E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#1E786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b2e;
/* rgb */ color: rgb(45, 123, 46);
/* oklch */ color: oklch(51.7% 0.136 143.5);
Tailwind
colors: {
  custom: {
    50: '#70a26a',
    500: '#2d7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b2e;
$custom-light: #70a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b2e",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 120.769,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51696,
    "c": 0.13587,
    "h": 143.5
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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