#2D7521#2D7521

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

Color values

HEX#2D7521
RGBrgb(45, 117, 33)
HSLhsl(111, 56%, 29%)
HSVhsv(111, 72%, 46%)
CMYKcmyk(61.5%, 0%, 71.8%, 54.1%)
CIE-LABlab(43.34, -39.28, 38.03)
CIE-LCHlch(43.34, 54.67, 135.93°)
OKLaboklab(49.86% -0.1074 0.087)
OKLCHoklch(49.86% 0.138 141)
XYZxyz(7.7176, 13.3896, 3.6163)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7521 #692175
analogous
#577521 #2D7521 #21753F
triadic
#2D7521 #212D75 #75212D
tetradic
#2D7521 #215775 #692175 #753F21
square
#2D7521 #215775 #692175 #753F21
split-complementary
#2D7521 #3F2175 #752157
monochromatic
#091807 #1B4514 #2D7521 #3FA52E #59CB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7521#FFFFFF#000000##FFFFFF
##2D75211.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)
#786A15
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#237164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7521;
/* rgb */ color: rgb(45, 117, 33);
/* oklch */ color: oklch(49.9% 0.138 141.0);
Tailwind
colors: {
  custom: {
    50: '#6f9d61',
    500: '#2d7521',
    950: '#000000',
  },
}
SCSS
$custom: #2d7521;
$custom-light: #6f9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7521",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 33
  },
  "hsl": {
    "h": 111.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.13822,
    "h": 141
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

primary
#2D7521
secondary
#9B4AA8
accent
#49DFCA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7521

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

Preview Lab → · Contrast checker → · Palette generator →

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