#2D8F1E#2D8F1E

#2D8F1E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.172 H 141.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2D8F1E
RGBrgb(45, 143, 30)
HSLhsl(112, 65%, 34%)
HSVhsv(112, 79%, 56%)
CMYKcmyk(68.5%, 0%, 79%, 43.9%)
CIE-LABlab(52.17, -49.15, 48.09)
CIE-LCHlch(52.17, 68.76, 135.63°)
OKLaboklab(57.15% -0.1343 0.1076)
OKLCHoklch(57.15% 0.172 141.3)
XYZxyz(11.1384, 20.2954, 4.5585)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F1E #801E8F
analogous
#668F1E #2D8F1E #1E8F48
triadic
#2D8F1E #1E2D8F #8F1E2D
tetradic
#2D8F1E #1E668F #801E8F #8F481E
square
#2D8F1E #1E668F #801E8F #8F481E
split-complementary
#2D8F1E #481E8F #8F1E66
monochromatic
#0D2A09 #1D5C13 #2D8F1E #3DC229 #60DA4E

Accessibility & contrast

On white

4.15
#2D8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2D8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F1E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F1E#FFFFFF#000000##000000
##2D8F1E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#198A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f1e;
/* rgb */ color: rgb(45, 143, 30);
/* oklch */ color: oklch(57.2% 0.172 141.3);
Tailwind
colors: {
  custom: {
    50: '#75b163',
    500: '#2d8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f1e;
$custom-light: #75b163;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f1e",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 112.035,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.17205,
    "h": 141.3
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#2D8F1E
secondary
#AE4CBC
accent
#40E8D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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