#2D9837#2D9837

#2D9837 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.166 H 144.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2D9837
RGBrgb(45, 152, 55)
HSLhsl(126, 54%, 39%)
HSVhsv(126, 70%, 60%)
CMYKcmyk(70.4%, 0%, 63.8%, 40.4%)
CIE-LABlab(55.37, -50.01, 41.34)
CIE-LCHlch(55.37, 64.89, 140.42°)
OKLaboklab(59.87% -0.1353 0.0966)
OKLCHoklch(59.87% 0.166 144.5)
XYZxyz(12.9992, 23.2888, 7.4238)
Luminance0.2329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9837 #982D8E
analogous
#58982D #2D9837 #2D986C
triadic
#2D9837 #372D98 #98372D
tetradic
#2D9837 #2D5898 #982D8E #986C2D
square
#2D9837 #2D5898 #982D8E #986C2D
split-complementary
#2D9837 #6C2D98 #982D58
monochromatic
#113A15 #1F6926 #2D9837 #3DC549 #6CD376

Accessibility & contrast

On white

3.71
#2D9837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#2D9837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9837
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9837#FFFFFF#000000##000000
##2D98371.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#8E813F
Tritanopia (blue-blind)
#079483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2d9837;
/* rgb */ color: rgb(45, 152, 55);
/* oklch */ color: oklch(59.9% 0.166 144.5);
Tailwind
colors: {
  custom: {
    50: '#75b772',
    500: '#2d9837',
    950: '#000000',
  },
}
SCSS
$custom: #2d9837;
$custom-light: #75b772;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9837",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 55
  },
  "hsl": {
    "h": 125.607,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.16622,
    "h": 144.5
  },
  "luminance": 0.2329
}

Semantic roles & 50–950 ramp

primary
#2D9837
secondary
#BA66B3
accent
#4AD0DE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #2D9837

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

Preview Lab → · Contrast checker → · Palette generator →

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