#2D8D18#2D8D18

#2D8D18 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.173 H 140.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2D8D18
RGBrgb(45, 141, 24)
HSLhsl(109, 71%, 32%)
HSVhsv(109, 83%, 55%)
CMYKcmyk(68.1%, 0%, 83%, 44.7%)
CIE-LABlab(51.46, -48.83, 49.32)
CIE-LCHlch(51.46, 69.41, 134.72°)
OKLaboklab(56.56% -0.1337 0.1093)
OKLCHoklch(56.56% 0.173 140.7)
XYZxyz(10.7714, 19.6725, 4.0935)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D18 #78188D
analogous
#678D18 #2D8D18 #188D3E
triadic
#2D8D18 #182D8D #8D182D
tetradic
#2D8D18 #18678D #78188D #8D3E18
square
#2D8D18 #18678D #78188D #8D3E18
split-complementary
#2D8D18 #3E188D #8D1867
monochromatic
#0C2406 #1C590F #2D8D18 #3EC121 #5DDF41

Accessibility & contrast

On white

4.26
#2D8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2D8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D18
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D18#FFFFFF#000000##000000
##2D8D181.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#1B8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d18;
/* rgb */ color: rgb(45, 141, 24);
/* oklch */ color: oklch(56.6% 0.173 140.7);
Tailwind
colors: {
  custom: {
    50: '#75af60',
    500: '#2d8d18',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d18;
$custom-light: #75af60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d18",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 109.231,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56558,
    "c": 0.17268,
    "h": 140.7
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#2D8D18
secondary
#A942BF
accent
#3AEECD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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