#2D7E19#2D7E19

#2D7E19 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.155 H 140.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D7E19
RGBrgb(45, 126, 25)
HSLhsl(108, 67%, 30%)
HSVhsv(108, 80%, 49%)
CMYKcmyk(64.3%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.38, -43.38, 44.19)
CIE-LCHlch(46.38, 61.92, 134.47°)
OKLaboklab(52.35% -0.1189 0.0987)
OKLCHoklch(52.35% 0.155 140.3)
XYZxyz(8.7181, 15.5490, 3.4613)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E19 #6A197E
analogous
#607E19 #2D7E19 #197E38
triadic
#2D7E19 #192D7E #7E192D
tetradic
#2D7E19 #19607E #6A197E #7E3819
square
#2D7E19 #19607E #6A197E #7E3819
split-complementary
#2D7E19 #38197E #7E1960
monochromatic
#091A05 #1B4B0F #2D7E19 #3FB123 #59D83A

Accessibility & contrast

On white

5.11
#2D7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2D7E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E19
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E19#FFFFFF#000000##FFFFFF
##2D7E191.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#217A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e19;
/* rgb */ color: rgb(45, 126, 25);
/* oklch */ color: oklch(52.3% 0.155 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a45e',
    500: '#2d7e19',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e19;
$custom-light: #71a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e19",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 108.119,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.15457,
    "h": 140.3
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#2D7E19
secondary
#9C41B2
accent
#3EEAC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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