#2D8825#2D8825

#2D8825 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.160 H 142.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D8825
RGBrgb(45, 136, 37)
HSLhsl(115, 57%, 34%)
HSVhsv(115, 73%, 53%)
CMYKcmyk(66.9%, 0%, 72.8%, 46.7%)
CIE-LABlab(49.86, -46.11, 43.17)
CIE-LCHlch(49.86, 63.16, 136.88°)
OKLaboklab(55.25% -0.1256 0.0983)
OKLCHoklch(55.25% 0.16 142)
XYZxyz(10.2197, 18.2987, 4.7433)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8825 #802588
analogous
#5F8825 #2D8825 #25884F
triadic
#2D8825 #252D88 #88252D
tetradic
#2D8825 #255F88 #802588 #884F25
square
#2D8825 #255F88 #802588 #884F25
split-complementary
#2D8825 #4F2588 #88255F
monochromatic
#0D280B #1D5818 #2D8825 #3DB832 #60D156

Accessibility & contrast

On white

4.51
#2D8825 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2D8825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8825
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8825#FFFFFF#000000##000000
##2D88251.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B15
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#1B8474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8825;
/* rgb */ color: rgb(45, 136, 37);
/* oklch */ color: oklch(55.3% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#73ac66',
    500: '#2d8825',
    950: '#000000',
  },
}
SCSS
$custom: #2d8825;
$custom-light: #73ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8825",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 115.152,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.15953,
    "h": 142
  },
  "luminance": 0.183
}

Semantic roles & 50–950 ramp

primary
#2D8825
secondary
#AE53B6
accent
#47E0D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8825

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

Preview Lab → · Contrast checker → · Palette generator →

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