#2D7522#2D7522

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

Color values

HEX#2D7522
RGBrgb(45, 117, 34)
HSLhsl(112, 55%, 30%)
HSVhsv(112, 71%, 46%)
CMYKcmyk(61.5%, 0%, 70.9%, 54.1%)
CIE-LABlab(43.35, -39.19, 37.60)
CIE-LCHlch(43.35, 54.31, 136.18°)
OKLaboklab(49.86% -0.1071 0.0862)
OKLCHoklch(49.86% 0.137 141.2)
XYZxyz(7.7318, 13.3953, 3.6912)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7522 #6A2275
analogous
#577522 #2D7522 #227541
triadic
#2D7522 #222D75 #75222D
tetradic
#2D7522 #225775 #6A2275 #754122
square
#2D7522 #225775 #6A2275 #754122
split-complementary
#2D7522 #412275 #752257
monochromatic
#091807 #1B4614 #2D7522 #3FA430 #59CA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7522#FFFFFF#000000##FFFFFF
##2D75221.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)
#786A16
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#237164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7522;
/* rgb */ color: rgb(45, 117, 34);
/* oklch */ color: oklch(49.9% 0.137 141.2);
Tailwind
colors: {
  custom: {
    50: '#6f9d62',
    500: '#2d7522',
    950: '#000000',
  },
}
SCSS
$custom: #2d7522;
$custom-light: #6f9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7522",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 112.048,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.13749,
    "h": 141.2
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#2D7522
secondary
#9C4BA8
accent
#49DECB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7522

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

Preview Lab → · Contrast checker → · Palette generator →

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