#2D842E#2D842E

#2D842E is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.148 H 143.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2D842E
RGBrgb(45, 132, 46)
HSLhsl(121, 49%, 35%)
HSVhsv(121, 66%, 52%)
CMYKcmyk(65.9%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.58, -43.70, 37.88)
CIE-LCHlch(48.58, 57.84, 139.08°)
OKLaboklab(54.22% -0.1186 0.0882)
OKLCHoklch(54.22% 0.148 143.4)
XYZxyz(9.8260, 17.2567, 5.3973)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D842E #842D83
analogous
#57842D #2D842E #2D845A
triadic
#2D842E #2E2D84 #842E2D
tetradic
#2D842E #2D5784 #842D83 #845A2D
square
#2D842E #2D5784 #842D83 #845A2D
split-complementary
#2D842E #5A2D84 #842D57
monochromatic
#0E290E #1D561E #2D842E #3DB23E #62C963

Accessibility & contrast

On white

4.72
#2D842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2D842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D842E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D842E#FFFFFF#000000##FFFFFF
##2D842E1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#1A8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d842e;
/* rgb */ color: rgb(45, 132, 46);
/* oklch */ color: oklch(54.2% 0.148 143.4);
Tailwind
colors: {
  custom: {
    50: '#71a96a',
    500: '#2d842e',
    950: '#000000',
  },
}
SCSS
$custom: #2d842e;
$custom-light: #71a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d842e",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 120.69,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.14786,
    "h": 143.4
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#2D842E
secondary
#B05DAF
accent
#4FD7D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D842E

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

Preview Lab → · Contrast checker → · Palette generator →

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