#2D7427#2D7427

#2D7427 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.132 H 142.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2D7427
RGBrgb(45, 116, 39)
HSLhsl(115, 50%, 30%)
HSVhsv(115, 66%, 45%)
CMYKcmyk(61.2%, 0%, 66.4%, 54.5%)
CIE-LABlab(43.05, -38.26, 35.00)
CIE-LCHlch(43.05, 51.85, 137.55°)
OKLaboklab(49.63% -0.1043 0.0813)
OKLCHoklch(49.63% 0.132 142)
XYZxyz(7.6934, 13.1945, 4.0604)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7427 #6E2774
analogous
#537427 #2D7427 #277448
triadic
#2D7427 #272D74 #74272D
tetradic
#2D7427 #275374 #6E2774 #744827
square
#2D7427 #275374 #6E2774 #744827
split-complementary
#2D7427 #482774 #742753
monochromatic
#091808 #1B4618 #2D7427 #3FA236 #5AC451

Accessibility & contrast

On white

5.77
#2D7427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2D7427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7427
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7427#FFFFFF#000000##FFFFFF
##2D74271.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691E
Deuteranopia (green-blind)
#6E632E
Tritanopia (blue-blind)
#227064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7427;
/* rgb */ color: rgb(45, 116, 39);
/* oklch */ color: oklch(49.6% 0.132 142.0);
Tailwind
colors: {
  custom: {
    50: '#6e9d65',
    500: '#2d7427',
    950: '#000000',
  },
}
SCSS
$custom: #2d7427;
$custom-light: #6e9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7427",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 39
  },
  "hsl": {
    "h": 115.325,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.13225,
    "h": 142
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#2D7427
secondary
#A050A6
accent
#4FD9CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7427

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

Preview Lab → · Contrast checker → · Palette generator →

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