#2D7627#2D7627

#2D7627 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.135 H 142.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2D7627
RGBrgb(45, 118, 39)
HSLhsl(115, 50%, 31%)
HSVhsv(115, 67%, 46%)
CMYKcmyk(61.9%, 0%, 66.9%, 53.7%)
CIE-LABlab(43.74, -39.06, 35.76)
CIE-LCHlch(43.74, 52.96, 137.52°)
OKLaboklab(50.2% -0.1064 0.083)
OKLCHoklch(50.2% 0.135 142.1)
XYZxyz(7.9264, 13.6605, 4.1381)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7627 #702776
analogous
#547627 #2D7627 #277648
triadic
#2D7627 #272D76 #76272D
tetradic
#2D7627 #275476 #702776 #764827
square
#2D7627 #275476 #702776 #764827
split-complementary
#2D7627 #482776 #762754
monochromatic
#0A1A09 #1B4818 #2D7627 #3FA436 #5AC652

Accessibility & contrast

On white

5.63
#2D7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2D7627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7627
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7627#FFFFFF#000000##FFFFFF
##2D76271.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1D
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#217266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7627;
/* rgb */ color: rgb(45, 118, 39);
/* oklch */ color: oklch(50.2% 0.135 142.1);
Tailwind
colors: {
  custom: {
    50: '#6f9e65',
    500: '#2d7627',
    950: '#000000',
  },
}
SCSS
$custom: #2d7627;
$custom-light: #6f9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7627",
  "rgb": {
    "r": 45,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 115.443,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.13495,
    "h": 142.1
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#2D7627
secondary
#A251A8
accent
#4EDACF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7627

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

Preview Lab → · Contrast checker → · Palette generator →

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