#2D721E#2D721E

#2D721E is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.136 H 140.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2D721E
RGBrgb(45, 114, 30)
HSLhsl(109, 58%, 28%)
HSVhsv(109, 74%, 45%)
CMYKcmyk(60.5%, 0%, 73.7%, 55.3%)
CIE-LABlab(42.29, -38.37, 38.20)
CIE-LCHlch(42.29, 54.14, 135.13°)
OKLaboklab(48.97% -0.1051 0.0869)
OKLCHoklch(48.97% 0.136 140.4)
XYZxyz(7.3335, 12.6856, 3.2902)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D721E #631E72
analogous
#57721E #2D721E #1E7239
triadic
#2D721E #1E2D72 #721E2D
tetradic
#2D721E #1E5772 #631E72 #72391E
square
#2D721E #1E5772 #631E72 #72391E
split-complementary
#2D721E #391E72 #721E57
monochromatic
#0A1806 #1A4211 #2D721E #40A22B #58CC3E

Accessibility & contrast

On white

5.94
#2D721E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2D721E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D721E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D721E#FFFFFF#000000##FFFFFF
##2D721E1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756711
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#246E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d721e;
/* rgb */ color: rgb(45, 114, 30);
/* oklch */ color: oklch(49.0% 0.136 140.4);
Tailwind
colors: {
  custom: {
    50: '#6f9b5f',
    500: '#2d721e',
    950: '#000000',
  },
}
SCSS
$custom: #2d721e;
$custom-light: #6f9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d721e",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 30
  },
  "hsl": {
    "h": 109.286,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48974,
    "c": 0.13643,
    "h": 140.4
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#2D721E
secondary
#9546A6
accent
#46E2C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D721E

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

Preview Lab → · Contrast checker → · Palette generator →

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