#2D8519#2D8519

#2D8519 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.163 H 140.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2D8519
RGBrgb(45, 133, 25)
HSLhsl(109, 68%, 31%)
HSVhsv(109, 81%, 52%)
CMYKcmyk(66.2%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.76, -45.94, 46.47)
CIE-LCHlch(48.76, 65.34, 134.67°)
OKLaboklab(54.32% -0.1258 0.1035)
OKLCHoklch(54.32% 0.163 140.6)
XYZxyz(9.6447, 17.4022, 3.7702)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8519 #711985
analogous
#638519 #2D8519 #19853B
triadic
#2D8519 #192D85 #85192D
tetradic
#2D8519 #196385 #711985 #853B19
square
#2D8519 #196385 #711985 #853B19
split-complementary
#2D8519 #3B1985 #851963
monochromatic
#0A1E06 #1C510F #2D8519 #3EB923 #5BDB3E

Accessibility & contrast

On white

4.69
#2D8519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2D8519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8519
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8519#FFFFFF#000000##FFFFFF
##2D85191.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#1E8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8519;
/* rgb */ color: rgb(45, 133, 25);
/* oklch */ color: oklch(54.3% 0.163 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a95f',
    500: '#2d8519',
    950: '#000000',
  },
}
SCSS
$custom: #2d8519;
$custom-light: #73a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8519",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 108.889,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.16292,
    "h": 140.6
  },
  "luminance": 0.17403
}

Semantic roles & 50–950 ramp

primary
#2D8519
secondary
#A341B9
accent
#3DEBCB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8519

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

Preview Lab → · Contrast checker → · Palette generator →

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