#2D7936#2D7936

#2D7936 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.126 H 145.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2D7936
RGBrgb(45, 121, 54)
HSLhsl(127, 46%, 33%)
HSVhsv(127, 63%, 47%)
CMYKcmyk(62.8%, 0%, 55.4%, 52.5%)
CIE-LABlab(44.94, -38.33, 29.66)
CIE-LCHlch(44.94, 48.47, 142.26°)
OKLaboklab(51.24% -0.1038 0.0711)
OKLCHoklch(51.24% 0.126 145.6)
XYZxyz(8.5849, 14.4982, 5.8353)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7936 #792D70
analogous
#4A792D #2D7936 #2D795C
triadic
#2D7936 #362D79 #79362D
tetradic
#2D7936 #2D4A79 #792D70 #795C2D
square
#2D7936 #2D4A79 #792D70 #795C2D
split-complementary
#2D7936 #5C2D79 #792D4A
monochromatic
#0C200E #1C4C22 #2D7936 #3EA64A #5DC369

Accessibility & contrast

On white

5.38
#2D7936 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2D7936 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7936
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7936#FFFFFF#000000##FFFFFF
##2D79361.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E30
Deuteranopia (green-blind)
#71683B
Tritanopia (blue-blind)
#1C766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7936;
/* rgb */ color: rgb(45, 121, 54);
/* oklch */ color: oklch(51.2% 0.126 145.6);
Tailwind
colors: {
  custom: {
    50: '#6fa06f',
    500: '#2d7936',
    950: '#000000',
  },
}
SCSS
$custom: #2d7936;
$custom-light: #6fa06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7936",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 54
  },
  "hsl": {
    "h": 127.105,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.12581,
    "h": 145.6
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#2D7936
secondary
#A958A0
accent
#52C6D5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2D7936

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

Preview Lab → · Contrast checker → · Palette generator →

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