#2D7B1E#2D7B1E

#2D7B1E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.148 H 140.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2D7B1E
RGBrgb(45, 123, 30)
HSLhsl(110, 61%, 30%)
HSVhsv(110, 76%, 48%)
CMYKcmyk(63.4%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.38, -41.87, 41.37)
CIE-LCHlch(45.38, 58.86, 135.34°)
OKLaboklab(51.53% -0.1146 0.0936)
OKLCHoklch(51.53% 0.148 140.8)
XYZxyz(8.3991, 14.8168, 3.6453)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B1E #6C1E7B
analogous
#5B7B1E #2D7B1E #1E7B3E
triadic
#2D7B1E #1E2D7B #7B1E2D
tetradic
#2D7B1E #1E5B7B #6C1E7B #7B3E1E
square
#2D7B1E #1E5B7B #6C1E7B #7B3E1E
split-complementary
#2D7B1E #3E1E7B #7B1E5B
monochromatic
#091906 #1B4A12 #2D7B1E #3FAC2A #59D142

Accessibility & contrast

On white

5.30
#2D7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2D7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B1E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B1E#FFFFFF#000000##FFFFFF
##2D7B1E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#217769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7b1e;
/* rgb */ color: rgb(45, 123, 30);
/* oklch */ color: oklch(51.5% 0.148 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a260',
    500: '#2d7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b1e;
$custom-light: #70a260;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b1e",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 110.323,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.14795,
    "h": 140.8
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#2D7B1E
secondary
#9E46AE
accent
#44E4CA
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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