#2D8D1C#2D8D1C

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

Color values

HEX#2D8D1C
RGBrgb(45, 141, 28)
HSLhsl(111, 67%, 33%)
HSVhsv(111, 80%, 55%)
CMYKcmyk(68.1%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.49, -48.59, 48.09)
CIE-LCHlch(51.49, 68.37, 135.29°)
OKLaboklab(56.58% -0.1328 0.1073)
OKLCHoklch(56.58% 0.171 141.1)
XYZxyz(10.8161, 19.6904, 4.3290)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D1C #7C1C8D
analogous
#668D1C #2D8D1C #1C8D43
triadic
#2D8D1C #1C2D8D #8D1C2D
tetradic
#2D8D1C #1C668D #7C1C8D #8D431C
square
#2D8D1C #1C668D #7C1C8D #8D431C
split-complementary
#2D8D1C #431C8D #8D1C66
monochromatic
#0C2708 #1D5A12 #2D8D1C #3DC026 #5FDB49

Accessibility & contrast

On white

4.25
#2D8D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2D8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D1C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D1C#FFFFFF#000000##000000
##2D8D1C1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d8d1c;
/* rgb */ color: rgb(45, 141, 28);
/* oklch */ color: oklch(56.6% 0.171 141.1);
Tailwind
colors: {
  custom: {
    50: '#74af62',
    500: '#2d8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d1c;
$custom-light: #74af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d1c",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 110.973,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.17076,
    "h": 141.1
  },
  "luminance": 0.19691
}

Semantic roles & 50–950 ramp

primary
#2D8D1C
secondary
#AB48BD
accent
#3EEAD0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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