#2D722B#2D722B

#2D722B is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.126 H 142.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2D722B
RGBrgb(45, 114, 43)
HSLhsl(118, 45%, 31%)
HSVhsv(118, 62%, 45%)
CMYKcmyk(60.5%, 0%, 62.3%, 55.3%)
CIE-LABlab(42.41, -36.97, 32.32)
CIE-LCHlch(42.41, 49.11, 138.84°)
OKLaboklab(49.11% -0.1006 0.076)
OKLCHoklch(49.11% 0.126 142.9)
XYZxyz(7.5351, 12.7663, 4.3521)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D722B #702B72
analogous
#50722B #2D722B #2B724C
triadic
#2D722B #2B2D72 #722B2D
tetradic
#2D722B #2B5072 #702B72 #724C2B
square
#2D722B #2B5072 #702B72 #724C2B
split-complementary
#2D722B #4C2B72 #722B50
monochromatic
#0A1909 #1B461A #2D722B #3F9E3C #5AC058

Accessibility & contrast

On white

5.91
#2D722B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2D722B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D722B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D722B#FFFFFF#000000##FFFFFF
##2D722B1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746823
Deuteranopia (green-blind)
#6C6231
Tritanopia (blue-blind)
#226F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d722b;
/* rgb */ color: rgb(45, 114, 43);
/* oklch */ color: oklch(49.1% 0.126 142.9);
Tailwind
colors: {
  custom: {
    50: '#6e9b67',
    500: '#2d722b',
    950: '#000000',
  },
}
SCSS
$custom: #2d722b;
$custom-light: #6e9b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d722b",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 118.31,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.12607,
    "h": 142.9
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#2D722B
secondary
#A255A4
accent
#53D5D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D722B

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

Preview Lab → · Contrast checker → · Palette generator →

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