#2D7836#2D7836

#2D7836 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.124 H 145.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2D7836
RGBrgb(45, 120, 54)
HSLhsl(127, 45%, 32%)
HSVhsv(127, 63%, 47%)
CMYKcmyk(62.5%, 0%, 55%, 52.9%)
CIE-LABlab(44.60, -37.92, 29.25)
CIE-LCHlch(44.60, 47.89, 142.36°)
OKLaboklab(50.96% -0.1026 0.0702)
OKLCHoklch(50.96% 0.124 145.6)
XYZxyz(8.4640, 14.2564, 5.7950)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7836 #782D6F
analogous
#4A782D #2D7836 #2D785C
triadic
#2D7836 #362D78 #78362D
tetradic
#2D7836 #2D4A78 #782D6F #785C2D
square
#2D7836 #2D4A78 #782D6F #785C2D
split-complementary
#2D7836 #5C2D78 #782D4A
monochromatic
#0C1F0E #1C4B22 #2D7836 #3EA54A #5DC269

Accessibility & contrast

On white

5.45
#2D7836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2D7836 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7836
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7836#FFFFFF#000000##FFFFFF
##2D78361.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D30
Deuteranopia (green-blind)
#70673B
Tritanopia (blue-blind)
#1C7569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7836;
/* rgb */ color: rgb(45, 120, 54);
/* oklch */ color: oklch(51.0% 0.124 145.6);
Tailwind
colors: {
  custom: {
    50: '#6fa06f',
    500: '#2d7836',
    950: '#000000',
  },
}
SCSS
$custom: #2d7836;
$custom-light: #6fa06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7836",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 54
  },
  "hsl": {
    "h": 127.2,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.12437,
    "h": 145.6
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#2D7836
secondary
#A9589F
accent
#53C5D5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2D7836

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

Preview Lab → · Contrast checker → · Palette generator →

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