#2D8F25#2D8F25

#2D8F25 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.168 H 142.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2D8F25
RGBrgb(45, 143, 37)
HSLhsl(115, 59%, 35%)
HSVhsv(115, 74%, 56%)
CMYKcmyk(68.5%, 0%, 74.1%, 43.9%)
CIE-LABlab(52.21, -48.62, 45.60)
CIE-LCHlch(52.21, 66.66, 136.84°)
OKLaboklab(57.2% -0.1324 0.1034)
OKLCHoklch(57.2% 0.168 142)
XYZxyz(11.2380, 20.3352, 5.0828)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F25 #87258F
analogous
#628F25 #2D8F25 #258F52
triadic
#2D8F25 #252D8F #8F252D
tetradic
#2D8F25 #25628F #87258F #8F5225
square
#2D8F25 #25628F #87258F #8F5225
split-complementary
#2D8F25 #52258F #8F2562
monochromatic
#0E2E0C #1E5E18 #2D8F25 #3CC032 #63D45A

Accessibility & contrast

On white

4.14
#2D8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2D8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F25
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F25#FFFFFF#000000##000000
##2D8F251.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#178B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f25;
/* rgb */ color: rgb(45, 143, 37);
/* oklch */ color: oklch(57.2% 0.168 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b166',
    500: '#2d8f25',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f25;
$custom-light: #74b166;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f25",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 115.472,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.16801,
    "h": 142
  },
  "luminance": 0.20336
}

Semantic roles & 50–950 ramp

primary
#2D8F25
secondary
#B257B9
accent
#46E2D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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