#2D7B2D#2D7B2D

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

Color values

HEX#2D7B2D
RGBrgb(45, 123, 45)
HSLhsl(120, 46%, 33%)
HSVhsv(120, 63%, 48%)
CMYKcmyk(63.4%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.51, -40.34, 34.89)
CIE-LCHlch(45.51, 53.34, 139.14°)
OKLaboklab(51.68% -0.1096 0.0818)
OKLCHoklch(51.68% 0.137 143.3)
XYZxyz(8.6383, 14.9124, 4.9053)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B2D #7B2D7B
analogous
#547B2D #2D7B2D #2D7B54
triadic
#2D7B2D #2D2D7B #7B2D2D
tetradic
#2D7B2D #2D547B #7B2D7B #7B542D
square
#2D7B2D #2D547B #7B2D7B #7B542D
split-complementary
#2D7B2D #542D7B #7B2D54
monochromatic
#0C210C #1D4E1D #2D7B2D #3DA83D #5EC45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7B2D#FFFFFF#000000##FFFFFF
##2D7B2D1.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)
#7E7024
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#1E786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b2d;
/* rgb */ color: rgb(45, 123, 45);
/* oklch */ color: oklch(51.7% 0.137 143.3);
Tailwind
colors: {
  custom: {
    50: '#70a269',
    500: '#2d7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b2d;
$custom-light: #70a269;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b2d",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.13673,
    "h": 143.3
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#2D7B2D
secondary
#AB59AB
accent
#52D6D6
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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