#2D8251#2D8251

#2D8251 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.112 H 154.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2D8251
RGBrgb(45, 130, 81)
HSLhsl(145, 49%, 34%)
HSVhsv(145, 65%, 51%)
CMYKcmyk(65.4%, 0%, 37.7%, 49%)
CIE-LABlab(48.41, -37.33, 19.24)
CIE-LCHlch(48.41, 41.99, 152.73°)
OKLaboklab(54.24% -0.1011 0.0482)
OKLCHoklch(54.24% 0.112 154.5)
XYZxyz(10.5491, 17.1162, 10.5308)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8251 #822D5E
analogous
#34822D #2D8251 #2D827C
triadic
#2D8251 #512D82 #82512D
tetradic
#2D8251 #2D3482 #822D5E #827C2D
square
#2D8251 #2D3482 #822D5E #827C2D
split-complementary
#2D8251 #7C2D82 #822D34
monochromatic
#0E2718 #1D5535 #2D8251 #3DAF6D #61C88D

Accessibility & contrast

On white

4.75
#2D8251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2D8251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8251
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8251#FFFFFF#000000##FFFFFF
##2D82511.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784E
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#048175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8251;
/* rgb */ color: rgb(45, 130, 81);
/* oklch */ color: oklch(54.2% 0.112 154.5);
Tailwind
colors: {
  custom: {
    50: '#70a782',
    500: '#2d8251',
    950: '#000000',
  },
}
SCSS
$custom: #2d8251;
$custom-light: #70a782;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8251",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 81
  },
  "hsl": {
    "h": 145.412,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.11202,
    "h": 154.5
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#2D8251
secondary
#AF5C8C
accent
#509ED8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D8251

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

Preview Lab → · Contrast checker → · Palette generator →

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