#2D8334#2D8334

#2D8334 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.141 H 144.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2D8334
RGBrgb(45, 131, 52)
HSLhsl(125, 49%, 35%)
HSVhsv(125, 66%, 51%)
CMYKcmyk(65.6%, 0%, 60.3%, 48.6%)
CIE-LABlab(48.31, -42.59, 34.69)
CIE-LCHlch(48.31, 54.92, 140.84°)
OKLaboklab(54.01% -0.1153 0.082)
OKLCHoklch(54.01% 0.141 144.6)
XYZxyz(9.8177, 17.0374, 6.0193)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8334 #832D7C
analogous
#51832D #2D8334 #2D835F
triadic
#2D8334 #342D83 #83342D
tetradic
#2D8334 #2D5183 #832D7C #835F2D
square
#2D8334 #2D5183 #832D7C #835F2D
split-complementary
#2D8334 #5F2D83 #832D51
monochromatic
#0E2810 #1D5522 #2D8334 #3DB146 #62C96A

Accessibility & contrast

On white

4.76
#2D8334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2D8334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8334
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8334#FFFFFF#000000##FFFFFF
##2D83341.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772C
Deuteranopia (green-blind)
#7B703A
Tritanopia (blue-blind)
#188072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8334;
/* rgb */ color: rgb(45, 131, 52);
/* oklch */ color: oklch(54.0% 0.141 144.6);
Tailwind
colors: {
  custom: {
    50: '#71a86e',
    500: '#2d8334',
    950: '#000000',
  },
}
SCSS
$custom: #2d8334;
$custom-light: #71a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8334",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 124.884,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.14149,
    "h": 144.6
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#2D8334
secondary
#AF5CA9
accent
#4FCDD8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2D8334

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

Preview Lab → · Contrast checker → · Palette generator →

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