#2D8618#2D8618

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

Color values

HEX#2D8618
RGBrgb(45, 134, 24)
HSLhsl(109, 70%, 31%)
HSVhsv(109, 82%, 53%)
CMYKcmyk(66.4%, 0%, 82.1%, 47.5%)
CIE-LABlab(49.10, -46.36, 47.11)
CIE-LCHlch(49.10, 66.09, 134.54°)
OKLaboklab(54.6% -0.127 0.1047)
OKLCHoklch(54.6% 0.165 140.5)
XYZxyz(9.7717, 17.6731, 3.7603)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8618 #711886
analogous
#648618 #2D8618 #18863A
triadic
#2D8618 #182D86 #86182D
tetradic
#2D8618 #186486 #711886 #863A18
square
#2D8618 #186486 #711886 #863A18
split-complementary
#2D8618 #3A1886 #861864
monochromatic
#0A1E05 #1C520F #2D8618 #3EBA21 #5BDC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8618#FFFFFF#000000##FFFFFF
##2D86181.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: #2d8618;
/* rgb */ color: rgb(45, 134, 24);
/* oklch */ color: oklch(54.6% 0.165 140.5);
Tailwind
colors: {
  custom: {
    50: '#73aa5f',
    500: '#2d8618',
    950: '#000000',
  },
}
SCSS
$custom: #2d8618;
$custom-light: #73aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8618",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 108.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.16459,
    "h": 140.5
  },
  "luminance": 0.17674
}

Semantic roles & 50–950 ramp

primary
#2D8618
secondary
#A340BA
accent
#3BECCB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8618

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

Preview Lab → · Contrast checker → · Palette generator →

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