#2D8438#2D8438

#2D8438 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.139 H 145.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2D8438
RGBrgb(45, 132, 56)
HSLhsl(128, 49%, 35%)
HSVhsv(128, 66%, 52%)
CMYKcmyk(65.9%, 0%, 57.6%, 48.2%)
CIE-LABlab(48.69, -42.43, 33.14)
CIE-LCHlch(48.69, 53.84, 142.01°)
OKLaboklab(54.35% -0.1148 0.0789)
OKLCHoklch(54.35% 0.139 145.5)
XYZxyz(10.0466, 17.3449, 6.5591)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8438 #842D79
analogous
#4E842D #2D8438 #2D8464
triadic
#2D8438 #382D84 #84382D
tetradic
#2D8438 #2D4E84 #842D79 #84642D
square
#2D8438 #2D4E84 #842D79 #84642D
split-complementary
#2D8438 #642D84 #842D4E
monochromatic
#0E2911 #1D5625 #2D8438 #3DB24B #62C96F

Accessibility & contrast

On white

4.70
#2D8438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2D8438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8438
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8438#FFFFFF#000000##FFFFFF
##2D84381.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7B713E
Tritanopia (blue-blind)
#168173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8438;
/* rgb */ color: rgb(45, 132, 56);
/* oklch */ color: oklch(54.3% 0.139 145.5);
Tailwind
colors: {
  custom: {
    50: '#71a971',
    500: '#2d8438',
    950: '#000000',
  },
}
SCSS
$custom: #2d8438;
$custom-light: #71a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8438",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 56
  },
  "hsl": {
    "h": 127.586,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.13928,
    "h": 145.5
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#2D8438
secondary
#B05DA5
accent
#4FC7D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D8438

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

Preview Lab → · Contrast checker → · Palette generator →

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