#2D8531#2D8531

#2D8531 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.147 H 143.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D8531
RGBrgb(45, 133, 49)
HSLhsl(123, 49%, 35%)
HSVhsv(123, 66%, 52%)
CMYKcmyk(66.2%, 0%, 63.2%, 47.8%)
CIE-LABlab(48.95, -43.73, 36.88)
CIE-LCHlch(48.95, 57.21, 139.86°)
OKLaboklab(54.54% -0.1186 0.0864)
OKLCHoklch(54.54% 0.147 143.9)
XYZxyz(10.0235, 17.5537, 5.7651)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8531 #852D81
analogous
#55852D #2D8531 #2D855D
triadic
#2D8531 #312D85 #85312D
tetradic
#2D8531 #2D5585 #852D81 #855D2D
square
#2D8531 #2D5585 #852D81 #855D2D
split-complementary
#2D8531 #5D2D85 #852D55
monochromatic
#0E2A0F #1E5720 #2D8531 #3CB342 #62CA67

Accessibility & contrast

On white

4.66
#2D8531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2D8531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8531
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8531#FFFFFF#000000##FFFFFF
##2D85311.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#7D7138
Tritanopia (blue-blind)
#198173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8531;
/* rgb */ color: rgb(45, 133, 49);
/* oklch */ color: oklch(54.5% 0.147 143.9);
Tailwind
colors: {
  custom: {
    50: '#72a96c',
    500: '#2d8531',
    950: '#000000',
  },
}
SCSS
$custom: #2d8531;
$custom-light: #72a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8531",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 122.727,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.14672,
    "h": 143.9
  },
  "luminance": 0.17555
}

Semantic roles & 50–950 ramp

primary
#2D8531
secondary
#B05DAD
accent
#4FD3D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8531

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

Preview Lab → · Contrast checker → · Palette generator →

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