#2D7A19#2D7A19

#2D7A19 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.150 H 140.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2D7A19
RGBrgb(45, 122, 25)
HSLhsl(108, 66%, 29%)
HSVhsv(108, 80%, 48%)
CMYKcmyk(63.1%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.01, -41.87, 42.86)
CIE-LCHlch(45.01, 59.92, 134.33°)
OKLaboklab(51.21% -0.1149 0.0959)
OKLCHoklch(51.21% 0.15 140.1)
XYZxyz(8.2168, 14.5464, 3.2942)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A19 #66197A
analogous
#5E7A19 #2D7A19 #197A36
triadic
#2D7A19 #192D7A #7A192D
tetradic
#2D7A19 #195E7A #66197A #7A3619
square
#2D7A19 #195E7A #66197A #7A3619
split-complementary
#2D7A19 #36197A #7A195E
monochromatic
#091905 #1A470F #2D7A19 #40AD23 #58D637

Accessibility & contrast

On white

5.37
#2D7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2D7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A19
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A19#FFFFFF#000000##FFFFFF
##2D7A191.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E03
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#227668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7a19;
/* rgb */ color: rgb(45, 122, 25);
/* oklch */ color: oklch(51.2% 0.150 140.1);
Tailwind
colors: {
  custom: {
    50: '#70a15e',
    500: '#2d7a19',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a19;
$custom-light: #70a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a19",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 107.629,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.14969,
    "h": 140.1
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#2D7A19
secondary
#9840AF
accent
#3FE9C6
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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