#2D7A27#2D7A27

#2D7A27 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.140 H 142.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2D7A27
RGBrgb(45, 122, 39)
HSLhsl(116, 52%, 32%)
HSVhsv(116, 68%, 48%)
CMYKcmyk(63.1%, 0%, 68%, 52.2%)
CIE-LABlab(45.11, -40.64, 37.27)
CIE-LCHlch(45.11, 55.14, 137.48°)
OKLaboklab(51.33% -0.1107 0.0861)
OKLCHoklch(51.33% 0.14 142.1)
XYZxyz(8.4075, 14.6226, 4.2985)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A27 #74277A
analogous
#577A27 #2D7A27 #277A4B
triadic
#2D7A27 #272D7A #7A272D
tetradic
#2D7A27 #27577A #74277A #7A4B27
square
#2D7A27 #27577A #74277A #7A4B27
split-complementary
#2D7A27 #4B277A #7A2757
monochromatic
#0B1D09 #1C4C18 #2D7A27 #3EA836 #5CC853

Accessibility & contrast

On white

5.35
#2D7A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D7A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A27
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A27#FFFFFF#000000##FFFFFF
##2D7A271.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1C
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#207669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a27;
/* rgb */ color: rgb(45, 122, 39);
/* oklch */ color: oklch(51.3% 0.140 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a165',
    500: '#2d7a27',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a27;
$custom-light: #70a165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a27",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 115.663,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.14028,
    "h": 142.1
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#2D7A27
secondary
#A551AC
accent
#4DDBD1
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7A27

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

Preview Lab → · Contrast checker → · Palette generator →

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