#2D9239#2D9239

#2D9239 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.157 H 145.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2D9239
RGBrgb(45, 146, 57)
HSLhsl(127, 53%, 37%)
HSVhsv(127, 69%, 57%)
CMYKcmyk(69.2%, 0%, 61%, 42.7%)
CIE-LABlab(53.40, -47.60, 38.16)
CIE-LCHlch(53.40, 61.00, 141.28°)
OKLaboklab(58.24% -0.1287 0.0899)
OKLCHoklch(58.24% 0.157 145.1)
XYZxyz(12.0988, 21.4098, 7.3650)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9239 #922D86
analogous
#53922D #2D9239 #2D926C
triadic
#2D9239 #392D92 #92392D
tetradic
#2D9239 #2D5392 #922D86 #926C2D
square
#2D9239 #2D5392 #922D86 #926C2D
split-complementary
#2D9239 #6C2D92 #922D53
monochromatic
#103414 #1F6327 #2D9239 #3BC14B #69D175

Accessibility & contrast

On white

3.98
#2D9239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#2D9239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9239
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9239#FFFFFF#000000##000000
##2D92391.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948530
Deuteranopia (green-blind)
#887C40
Tritanopia (blue-blind)
#0C8E7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2d9239;
/* rgb */ color: rgb(45, 146, 57);
/* oklch */ color: oklch(58.2% 0.157 145.1);
Tailwind
colors: {
  custom: {
    50: '#74b372',
    500: '#2d9239',
    950: '#000000',
  },
}
SCSS
$custom: #2d9239;
$custom-light: #74b372;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9239",
  "rgb": {
    "r": 45,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 127.129,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.15697,
    "h": 145.1
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#2D9239
secondary
#B763AD
accent
#4CCBDC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2D9239

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

Preview Lab → · Contrast checker → · Palette generator →

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