#2D8C1E#2D8C1E

#2D8C1E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.169 H 141.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D8C1E
RGBrgb(45, 140, 30)
HSLhsl(112, 65%, 33%)
HSVhsv(112, 79%, 55%)
CMYKcmyk(67.9%, 0%, 78.6%, 45.1%)
CIE-LABlab(51.16, -48.10, 47.11)
CIE-LCHlch(51.16, 67.32, 135.60°)
OKLaboklab(56.32% -0.1314 0.1055)
OKLCHoklch(56.32% 0.169 141.2)
XYZxyz(10.6941, 19.4067, 4.4103)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C1E #7D1E8C
analogous
#648C1E #2D8C1E #1E8C46
triadic
#2D8C1E #1E2D8C #8C1E2D
tetradic
#2D8C1E #1E648C #7D1E8C #8C461E
square
#2D8C1E #1E648C #7D1E8C #8C461E
split-complementary
#2D8C1E #461E8C #8C1E64
monochromatic
#0D2708 #1D5A13 #2D8C1E #3DBE29 #5FD94C

Accessibility & contrast

On white

4.30
#2D8C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2D8C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8C1E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8C1E#FFFFFF#000000##000000
##2D8C1E1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#1A8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8c1e;
/* rgb */ color: rgb(45, 140, 30);
/* oklch */ color: oklch(56.3% 0.169 141.2);
Tailwind
colors: {
  custom: {
    50: '#74af63',
    500: '#2d8c1e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c1e;
$custom-light: #74af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c1e",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 111.818,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.16854,
    "h": 141.2
  },
  "luminance": 0.19408
}

Semantic roles & 50–950 ramp

primary
#2D8C1E
secondary
#AC4BBB
accent
#40E8D1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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