#2D751A#2D751A

#2D751A is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.143 H 140.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2D751A
RGBrgb(45, 117, 26)
HSLhsl(107, 64%, 28%)
HSVhsv(107, 78%, 46%)
CMYKcmyk(61.5%, 0%, 77.8%, 54.1%)
CIE-LABlab(43.29, -39.88, 40.81)
CIE-LCHlch(43.29, 57.07, 134.34°)
OKLaboklab(49.8% -0.1095 0.0918)
OKLCHoklch(49.8% 0.143 140)
XYZxyz(7.6296, 13.3544, 3.1527)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D751A #621A75
analogous
#5A751A #2D751A #1A7535
triadic
#2D751A #1A2D75 #751A2D
tetradic
#2D751A #1A5A75 #621A75 #75351A
square
#2D751A #1A5A75 #621A75 #75351A
split-complementary
#2D751A #351A75 #751A5A
monochromatic
#0A1906 #1A430F #2D751A #40A725 #57D337

Accessibility & contrast

On white

5.72
#2D751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2D751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D751A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D751A#FFFFFF#000000##FFFFFF
##2D751A1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A07
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#247164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d751a;
/* rgb */ color: rgb(45, 117, 26);
/* oklch */ color: oklch(49.8% 0.143 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9d5d',
    500: '#2d751a',
    950: '#000000',
  },
}
SCSS
$custom: #2d751a;
$custom-light: #6f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d751a",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 107.473,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.14289,
    "h": 140
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#2D751A
secondary
#9441AA
accent
#41E7C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D751A

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

Preview Lab → · Contrast checker → · Palette generator →

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