#2D7520#2D7520

#2D7520 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.139 H 140.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2D7520
RGBrgb(45, 117, 32)
HSLhsl(111, 57%, 29%)
HSVhsv(111, 73%, 46%)
CMYKcmyk(61.5%, 0%, 72.6%, 54.1%)
CIE-LABlab(43.34, -39.38, 38.45)
CIE-LCHlch(43.34, 55.03, 135.68°)
OKLaboklab(49.85% -0.1077 0.0877)
OKLCHoklch(49.85% 0.139 140.8)
XYZxyz(7.7038, 13.3841, 3.5436)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7520 #682075
analogous
#587520 #2D7520 #20753E
triadic
#2D7520 #202D75 #75202D
tetradic
#2D7520 #205875 #682075 #753E20
square
#2D7520 #205875 #682075 #753E20
split-complementary
#2D7520 #3E2075 #752058
monochromatic
#091807 #1B4513 #2D7520 #3FA52D #58CC44

Accessibility & contrast

On white

5.71
#2D7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2D7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7520
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7520#FFFFFF#000000##FFFFFF
##2D75201.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#237164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7520;
/* rgb */ color: rgb(45, 117, 32);
/* oklch */ color: oklch(49.8% 0.139 140.8);
Tailwind
colors: {
  custom: {
    50: '#6f9d61',
    500: '#2d7520',
    950: '#000000',
  },
}
SCSS
$custom: #2d7520;
$custom-light: #6f9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7520",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 110.824,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49846,
    "c": 0.13894,
    "h": 140.8
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#2D7520
secondary
#9A48A8
accent
#47E0C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7520

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

Preview Lab → · Contrast checker → · Palette generator →

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