#2D8617#2D8617

#2D8617 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.165 H 140.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2D8617
RGBrgb(45, 134, 23)
HSLhsl(108, 71%, 31%)
HSVhsv(108, 83%, 53%)
CMYKcmyk(66.4%, 0%, 82.8%, 47.5%)
CIE-LABlab(49.09, -46.42, 47.41)
CIE-LCHlch(49.09, 66.35, 134.39°)
OKLaboklab(54.59% -0.1272 0.1052)
OKLCHoklch(54.59% 0.165 140.4)
XYZxyz(9.7615, 17.6690, 3.7065)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8617 #701786
analogous
#648617 #2D8617 #178638
triadic
#2D8617 #172D86 #86172D
tetradic
#2D8617 #176486 #701786 #863817
square
#2D8617 #176486 #701786 #863817
split-complementary
#2D8617 #381786 #861764
monochromatic
#0A1E05 #1B520E #2D8617 #3FBA20 #5ADD3A

Accessibility & contrast

On white

4.63
#2D8617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2D8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8617
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8617#FFFFFF#000000##FFFFFF
##2D86171.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#1E8172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d8617;
/* rgb */ color: rgb(45, 134, 23);
/* oklch */ color: oklch(54.6% 0.165 140.4);
Tailwind
colors: {
  custom: {
    50: '#73aa5f',
    500: '#2d8617',
    950: '#000000',
  },
}
SCSS
$custom: #2d8617;
$custom-light: #73aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8617",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 108.108,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.16507,
    "h": 140.4
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#2D8617
secondary
#A23FBA
accent
#3AEDCA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8617

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

Preview Lab → · Contrast checker → · Palette generator →

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