#2D9839#2D9839

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

Color values

HEX#2D9839
RGBrgb(45, 152, 57)
HSLhsl(127, 54%, 39%)
HSVhsv(127, 70%, 60%)
CMYKcmyk(70.4%, 0%, 62.5%, 40.4%)
CIE-LABlab(55.39, -49.78, 40.44)
CIE-LCHlch(55.39, 64.14, 140.91°)
OKLaboklab(59.89% -0.1346 0.0948)
OKLCHoklch(59.89% 0.165 144.8)
XYZxyz(13.0481, 23.3084, 7.6814)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9839 #982D8C
analogous
#56982D #2D9839 #2D986E
triadic
#2D9839 #392D98 #98392D
tetradic
#2D9839 #2D5698 #982D8C #986E2D
square
#2D9839 #2D5698 #982D8C #986E2D
split-complementary
#2D9839 #6E2D98 #982D56
monochromatic
#113A16 #1F6927 #2D9839 #3DC54C #6CD378

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D9839#FFFFFF#000000##000000
##2D98391.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)
#9B8A2E
Deuteranopia (green-blind)
#8E8141
Tritanopia (blue-blind)
#059484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2d9839;
/* rgb */ color: rgb(45, 152, 57);
/* oklch */ color: oklch(59.9% 0.165 144.8);
Tailwind
colors: {
  custom: {
    50: '#75b773',
    500: '#2d9839',
    950: '#000000',
  },
}
SCSS
$custom: #2d9839;
$custom-light: #75b773;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9839",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 57
  },
  "hsl": {
    "h": 126.729,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.16464,
    "h": 144.8
  },
  "luminance": 0.2331
}

Semantic roles & 50–950 ramp

primary
#2D9839
secondary
#BA66B1
accent
#4ACDDE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2D9839

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

Preview Lab → · Contrast checker → · Palette generator →

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