#2D8A1E#2D8A1E

#2D8A1E is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.166 H 141.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D8A1E
RGBrgb(45, 138, 30)
HSLhsl(112, 64%, 33%)
HSVhsv(112, 78%, 54%)
CMYKcmyk(67.4%, 0%, 78.3%, 45.9%)
CIE-LABlab(50.48, -47.39, 46.45)
CIE-LCHlch(50.48, 66.36, 135.57°)
OKLaboklab(55.76% -0.1295 0.1042)
OKLCHoklch(55.76% 0.166 141.2)
XYZxyz(10.4045, 18.8275, 4.3138)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A1E #7B1E8A
analogous
#638A1E #2D8A1E #1E8A45
triadic
#2D8A1E #1E2D8A #8A1E2D
tetradic
#2D8A1E #1E638A #7B1E8A #8A451E
square
#2D8A1E #1E638A #7B1E8A #8A451E
split-complementary
#2D8A1E #451E8A #8A1E63
monochromatic
#0C2508 #1D5813 #2D8A1E #3DBC29 #5ED84B

Accessibility & contrast

On white

4.41
#2D8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A1E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A1E#FFFFFF#000000##000000
##2D8A1E1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D04
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#1B8576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a1e;
/* rgb */ color: rgb(45, 138, 30);
/* oklch */ color: oklch(55.8% 0.166 141.2);
Tailwind
colors: {
  custom: {
    50: '#74ad62',
    500: '#2d8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a1e;
$custom-light: #74ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a1e",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 111.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.16619,
    "h": 141.2
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#2D8A1E
secondary
#AB4ABA
accent
#41E7D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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