#2D8B25#2D8B25

#2D8B25 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.163 H 142.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D8B25
RGBrgb(45, 139, 37)
HSLhsl(115, 58%, 35%)
HSVhsv(115, 73%, 55%)
CMYKcmyk(67.6%, 0%, 73.4%, 45.5%)
CIE-LABlab(50.87, -47.19, 44.22)
CIE-LCHlch(50.87, 64.67, 136.86°)
OKLaboklab(56.09% -0.1286 0.1005)
OKLCHoklch(56.09% 0.163 142)
XYZxyz(10.6482, 19.1556, 4.8862)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B25 #83258B
analogous
#608B25 #2D8B25 #258B50
triadic
#2D8B25 #252D8B #8B252D
tetradic
#2D8B25 #25608B #83258B #8B5025
square
#2D8B25 #25608B #83258B #8B5025
split-complementary
#2D8B25 #50258B #8B2560
monochromatic
#0E2A0B #1D5B18 #2D8B25 #3DBB32 #62D358

Accessibility & contrast

On white

4.35
#2D8B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2D8B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B25
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B25#FFFFFF#000000##000000
##2D8B251.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#198777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b25;
/* rgb */ color: rgb(45, 139, 37);
/* oklch */ color: oklch(56.1% 0.163 142.0);
Tailwind
colors: {
  custom: {
    50: '#73ae66',
    500: '#2d8b25',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b25;
$custom-light: #73ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b25",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 115.294,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.16319,
    "h": 142
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#2D8B25
secondary
#AF55B7
accent
#47E1D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B25

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

Preview Lab → · Contrast checker → · Palette generator →

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