#2D7527#2D7527

#2D7527 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.134 H 142.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2D7527
RGBrgb(45, 117, 39)
HSLhsl(115, 50%, 31%)
HSVhsv(115, 67%, 46%)
CMYKcmyk(61.5%, 0%, 66.7%, 54.1%)
CIE-LABlab(43.40, -38.66, 35.38)
CIE-LCHlch(43.40, 52.41, 137.54°)
OKLaboklab(49.92% -0.1054 0.0822)
OKLCHoklch(49.92% 0.134 142.1)
XYZxyz(7.8093, 13.4262, 4.0991)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7527 #6F2775
analogous
#547527 #2D7527 #277548
triadic
#2D7527 #272D75 #75272D
tetradic
#2D7527 #275475 #6F2775 #754827
square
#2D7527 #275475 #6F2775 #754827
split-complementary
#2D7527 #482775 #752754
monochromatic
#0A1908 #1B4718 #2D7527 #3FA336 #5AC551

Accessibility & contrast

On white

5.70
#2D7527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2D7527 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7527
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7527#FFFFFF#000000##FFFFFF
##2D75271.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1E
Deuteranopia (green-blind)
#6F642E
Tritanopia (blue-blind)
#227165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7527;
/* rgb */ color: rgb(45, 117, 39);
/* oklch */ color: oklch(49.9% 0.134 142.1);
Tailwind
colors: {
  custom: {
    50: '#6f9d65',
    500: '#2d7527',
    950: '#000000',
  },
}
SCSS
$custom: #2d7527;
$custom-light: #6f9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7527",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 39
  },
  "hsl": {
    "h": 115.385,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.13361,
    "h": 142.1
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7527

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

Preview Lab → · Contrast checker → · Palette generator →

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