#2D9841#2D9841

#2D9841 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.158 H 146.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2D9841
RGBrgb(45, 152, 65)
HSLhsl(131, 54%, 39%)
HSVhsv(131, 70%, 60%)
CMYKcmyk(70.4%, 0%, 57.2%, 40.4%)
CIE-LABlab(55.48, -48.74, 36.71)
CIE-LCHlch(55.48, 61.02, 143.02°)
OKLaboklab(59.99% -0.1315 0.0874)
OKLCHoklch(59.99% 0.158 146.4)
XYZxyz(13.2636, 23.3946, 8.8166)
Luminance0.2340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9841 #982D84
analogous
#4E982D #2D9841 #2D9876
triadic
#2D9841 #412D98 #98412D
tetradic
#2D9841 #2D4E98 #982D84 #98762D
square
#2D9841 #2D4E98 #982D84 #98762D
split-complementary
#2D9841 #762D98 #982D4E
monochromatic
#113A19 #1F692D #2D9841 #3DC556 #6CD37F

Accessibility & contrast

On white

3.70
#2D9841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2D9841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9841
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9841#FFFFFF#000000##000000
##2D98411.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A39
Deuteranopia (green-blind)
#8D8148
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2d9841;
/* rgb */ color: rgb(45, 152, 65);
/* oklch */ color: oklch(60.0% 0.158 146.4);
Tailwind
colors: {
  custom: {
    50: '#75b778',
    500: '#2d9841',
    950: '#000000',
  },
}
SCSS
$custom: #2d9841;
$custom-light: #75b778;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9841",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 65
  },
  "hsl": {
    "h": 131.215,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.15791,
    "h": 146.4
  },
  "luminance": 0.23396
}

Semantic roles & 50–950 ramp

primary
#2D9841
secondary
#BA66AB
accent
#4AC2DE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D9841

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

Preview Lab → · Contrast checker → · Palette generator →

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