#2D8B1C#2D8B1C

#2D8B1C is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.168 H 141.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2D8B1C
RGBrgb(45, 139, 28)
HSLhsl(111, 66%, 33%)
HSVhsv(111, 80%, 55%)
CMYKcmyk(67.6%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.81, -47.88, 47.45)
CIE-LCHlch(50.81, 67.41, 135.26°)
OKLaboklab(56.02% -0.1309 0.106)
OKLCHoklch(56.02% 0.168 141)
XYZxyz(10.5239, 19.1059, 4.2316)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B1C #7A1C8B
analogous
#648B1C #2D8B1C #1C8B43
triadic
#2D8B1C #1C2D8B #8B1C2D
tetradic
#2D8B1C #1C648B #7A1C8B #8B431C
square
#2D8B1C #1C648B #7A1C8B #8B431C
split-complementary
#2D8B1C #431C8B #8B1C64
monochromatic
#0C2507 #1D5812 #2D8B1C #3DBE26 #5EDA47

Accessibility & contrast

On white

4.36
#2D8B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2D8B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B1C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B1C#FFFFFF#000000##000000
##2D8B1C1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#1B8676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b1c;
/* rgb */ color: rgb(45, 139, 28);
/* oklch */ color: oklch(56.0% 0.168 141.0);
Tailwind
colors: {
  custom: {
    50: '#74ae62',
    500: '#2d8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b1c;
$custom-light: #74ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b1c",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 110.811,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.16843,
    "h": 141
  },
  "luminance": 0.19107
}

Semantic roles & 50–950 ramp

primary
#2D8B1C
secondary
#AA47BC
accent
#3EE9CF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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