#2D8530#2D8530

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

Color values

HEX#2D8530
RGBrgb(45, 133, 48)
HSLhsl(122, 49%, 35%)
HSVhsv(122, 66%, 52%)
CMYKcmyk(66.2%, 0%, 63.9%, 47.8%)
CIE-LABlab(48.94, -43.85, 37.34)
CIE-LCHlch(48.94, 57.60, 139.58°)
OKLaboklab(54.52% -0.1189 0.0873)
OKLCHoklch(54.52% 0.148 143.7)
XYZxyz(10.0026, 17.5453, 5.6552)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8530 #852D82
analogous
#56852D #2D8530 #2D855C
triadic
#2D8530 #302D85 #85302D
tetradic
#2D8530 #2D5685 #852D82 #855C2D
square
#2D8530 #2D5685 #852D82 #855C2D
split-complementary
#2D8530 #5C2D85 #852D56
monochromatic
#0E2A0F #1E571F #2D8530 #3CB341 #62CA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8530#FFFFFF#000000##FFFFFF
##2D85301.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)
#887926
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#198173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8530;
/* rgb */ color: rgb(45, 133, 48);
/* oklch */ color: oklch(54.5% 0.148 143.7);
Tailwind
colors: {
  custom: {
    50: '#72a96c',
    500: '#2d8530',
    950: '#000000',
  },
}
SCSS
$custom: #2d8530;
$custom-light: #72a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8530",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 122.045,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54523,
    "c": 0.14754,
    "h": 143.7
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#2D8530
secondary
#B05DAE
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8530

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

Preview Lab → · Contrast checker → · Palette generator →

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