#2D7927#2D7927

#2D7927 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.139 H 142.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2D7927
RGBrgb(45, 121, 39)
HSLhsl(116, 51%, 31%)
HSVhsv(116, 68%, 47%)
CMYKcmyk(62.8%, 0%, 67.8%, 52.5%)
CIE-LABlab(44.77, -40.25, 36.89)
CIE-LCHlch(44.77, 54.60, 137.49°)
OKLaboklab(51.05% -0.1097 0.0854)
OKLCHoklch(51.05% 0.139 142.1)
XYZxyz(8.2853, 14.3783, 4.2577)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7927 #732779
analogous
#567927 #2D7927 #27794A
triadic
#2D7927 #272D79 #79272D
tetradic
#2D7927 #275679 #732779 #794A27
square
#2D7927 #275679 #732779 #794A27
split-complementary
#2D7927 #4A2779 #792756
monochromatic
#0B1C09 #1C4B18 #2D7927 #3EA736 #5BC853

Accessibility & contrast

On white

5.42
#2D7927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2D7927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7927
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7927#FFFFFF#000000##FFFFFF
##2D79271.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1D
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#207568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7927;
/* rgb */ color: rgb(45, 121, 39);
/* oklch */ color: oklch(51.0% 0.139 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa065',
    500: '#2d7927',
    950: '#000000',
  },
}
SCSS
$custom: #2d7927;
$custom-light: #6fa065;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7927",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 115.61,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.13896,
    "h": 142.1
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#2D7927
secondary
#A451AB
accent
#4DDBD0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D7927

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

Preview Lab → · Contrast checker → · Palette generator →

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