#2D7D19#2D7D19

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

Color values

HEX#2D7D19
RGBrgb(45, 125, 25)
HSLhsl(108, 67%, 29%)
HSVhsv(108, 80%, 49%)
CMYKcmyk(64%, 0%, 80%, 51%)
CIE-LABlab(46.03, -43.00, 43.86)
CIE-LCHlch(46.03, 61.42, 134.43°)
OKLaboklab(52.06% -0.1179 0.098)
OKLCHoklch(52.06% 0.153 140.3)
XYZxyz(8.5909, 15.2945, 3.4189)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D19 #69197D
analogous
#5F7D19 #2D7D19 #197D37
triadic
#2D7D19 #192D7D #7D192D
tetradic
#2D7D19 #195F7D #69197D #7D3719
square
#2D7D19 #195F7D #69197D #7D3719
split-complementary
#2D7D19 #37197D #7D195F
monochromatic
#091A05 #1B4A0F #2D7D19 #3FB023 #59D739

Accessibility & contrast

On white

5.17
#2D7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2D7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D19
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D19#FFFFFF#000000##FFFFFF
##2D7D191.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#21796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d19;
/* rgb */ color: rgb(45, 125, 25);
/* oklch */ color: oklch(52.1% 0.153 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a35e',
    500: '#2d7d19',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d19;
$custom-light: #71a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d19",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 108,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.15336,
    "h": 140.3
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#2D7D19
secondary
#9B40B1
accent
#3EEAC7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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