#2D7B27#2D7B27

#2D7B27 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.142 H 142.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2D7B27
RGBrgb(45, 123, 39)
HSLhsl(116, 52%, 32%)
HSVhsv(116, 68%, 48%)
CMYKcmyk(63.4%, 0%, 68.3%, 51.8%)
CIE-LABlab(45.45, -41.03, 37.64)
CIE-LCHlch(45.45, 55.68, 137.46°)
OKLaboklab(51.62% -0.1118 0.0869)
OKLCHoklch(51.62% 0.142 142.1)
XYZxyz(8.5309, 14.8695, 4.3396)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B27 #75277B
analogous
#577B27 #2D7B27 #277B4B
triadic
#2D7B27 #272D7B #7B272D
tetradic
#2D7B27 #27577B #75277B #7B4B27
square
#2D7B27 #27577B #75277B #7B4B27
split-complementary
#2D7B27 #4B277B #7B2757
monochromatic
#0B1E0A #1C4D18 #2D7B27 #3EA936 #5CC954

Accessibility & contrast

On white

5.28
#2D7B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D7B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B27
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B27#FFFFFF#000000##FFFFFF
##2D7B271.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#20776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b27;
/* rgb */ color: rgb(45, 123, 39);
/* oklch */ color: oklch(51.6% 0.142 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a265',
    500: '#2d7b27',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b27;
$custom-light: #70a265;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b27",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 115.714,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.1416,
    "h": 142.1
  },
  "luminance": 0.1487
}

Semantic roles & 50–950 ramp

primary
#2D7B27
secondary
#A651AD
accent
#4CDBD1
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7B27

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

Preview Lab → · Contrast checker → · Palette generator →

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