#2D8538#2D8538

#2D8538 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.141 H 145.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2D8538
RGBrgb(45, 133, 56)
HSLhsl(128, 49%, 35%)
HSVhsv(128, 66%, 52%)
CMYKcmyk(66.2%, 0%, 57.9%, 47.8%)
CIE-LABlab(49.03, -42.82, 33.54)
CIE-LCHlch(49.03, 54.39, 141.93°)
OKLaboklab(54.63% -0.1158 0.0798)
OKLCHoklch(54.63% 0.141 145.4)
XYZxyz(10.1829, 17.6174, 6.6045)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8538 #852D7A
analogous
#4E852D #2D8538 #2D8564
triadic
#2D8538 #382D85 #85382D
tetradic
#2D8538 #2D4E85 #852D7A #85642D
square
#2D8538 #2D4E85 #852D7A #85642D
split-complementary
#2D8538 #642D85 #852D4E
monochromatic
#0E2A11 #1E5725 #2D8538 #3CB34B #62CA6F

Accessibility & contrast

On white

4.64
#2D8538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2D8538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8538
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8538#FFFFFF#000000##FFFFFF
##2D85381.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#7C723E
Tritanopia (blue-blind)
#168274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8538;
/* rgb */ color: rgb(45, 133, 56);
/* oklch */ color: oklch(54.6% 0.141 145.4);
Tailwind
colors: {
  custom: {
    50: '#71a971',
    500: '#2d8538',
    950: '#000000',
  },
}
SCSS
$custom: #2d8538;
$custom-light: #71a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8538",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 127.5,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.14064,
    "h": 145.4
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#2D8538
secondary
#B05DA6
accent
#4FC8D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D8538

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

Preview Lab → · Contrast checker → · Palette generator →

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