#2D8D1B#2D8D1B

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

Color values

HEX#2D8D1B
RGBrgb(45, 141, 27)
HSLhsl(111, 68%, 33%)
HSVhsv(111, 81%, 55%)
CMYKcmyk(68.1%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.48, -48.65, 48.41)
CIE-LCHlch(51.48, 68.64, 135.14°)
OKLaboklab(56.58% -0.1331 0.1078)
OKLCHoklch(56.58% 0.171 141)
XYZxyz(10.8043, 19.6857, 4.2670)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D1B #7B1B8D
analogous
#668D1B #2D8D1B #1B8D42
triadic
#2D8D1B #1B2D8D #8D1B2D
tetradic
#2D8D1B #1B668D #7B1B8D #8D421B
square
#2D8D1B #1B668D #7B1B8D #8D421B
split-complementary
#2D8D1B #421B8D #8D1B66
monochromatic
#0C2607 #1D5A11 #2D8D1B #3DC025 #5EDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8D1B#FFFFFF#000000##000000
##2D8D1B1.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: #2d8d1b;
/* rgb */ color: rgb(45, 141, 27);
/* oklch */ color: oklch(56.6% 0.171 141.0);
Tailwind
colors: {
  custom: {
    50: '#74af61',
    500: '#2d8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d1b;
$custom-light: #74af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d1b",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 110.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.17127,
    "h": 141
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#2D8D1B
secondary
#AB46BD
accent
#3DEBCF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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