#2D8D25#2D8D25

#2D8D25 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.166 H 142.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2D8D25
RGBrgb(45, 141, 37)
HSLhsl(115, 58%, 35%)
HSVhsv(115, 74%, 55%)
CMYKcmyk(68.1%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.54, -47.91, 44.91)
CIE-LCHlch(51.54, 65.67, 136.85°)
OKLaboklab(56.65% -0.1305 0.1019)
OKLCHoklch(56.65% 0.166 142)
XYZxyz(10.9404, 19.7401, 4.9836)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D25 #85258D
analogous
#618D25 #2D8D25 #258D51
triadic
#2D8D25 #252D8D #8D252D
tetradic
#2D8D25 #25618D #85258D #8D5125
square
#2D8D25 #25618D #85258D #8D5125
split-complementary
#2D8D25 #51258D #8D2561
monochromatic
#0E2C0C #1E5D18 #2D8D25 #3CBD32 #62D359

Accessibility & contrast

On white

4.24
#2D8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2D8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D25
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D25#FFFFFF#000000##000000
##2D8D251.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908013
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#188979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d25;
/* rgb */ color: rgb(45, 141, 37);
/* oklch */ color: oklch(56.6% 0.166 142.0);
Tailwind
colors: {
  custom: {
    50: '#74af66',
    500: '#2d8d25',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d25;
$custom-light: #74af66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d25",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 115.385,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.16561,
    "h": 142
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#2D8D25
secondary
#B056B8
accent
#46E2D6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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