#2D721B#2D721B

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

Color values

HEX#2D721B
RGBrgb(45, 114, 27)
HSLhsl(108, 62%, 28%)
HSVhsv(108, 76%, 45%)
CMYKcmyk(60.5%, 0%, 76.3%, 55.3%)
CIE-LABlab(42.26, -38.63, 39.40)
CIE-LCHlch(42.26, 55.18, 134.44°)
OKLaboklab(48.95% -0.106 0.089)
OKLCHoklch(48.95% 0.138 140)
XYZxyz(7.2970, 12.6710, 3.0979)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D721B #601B72
analogous
#59721B #2D721B #1B7234
triadic
#2D721B #1B2D72 #721B2D
tetradic
#2D721B #1B5972 #601B72 #72341B
square
#2D721B #1B5972 #601B72 #72341B
split-complementary
#2D721B #341B72 #721B59
monochromatic
#0A1906 #19410F #2D721B #41A327 #57D038

Accessibility & contrast

On white

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

On black

3.53
#2D721B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D721B#FFFFFF#000000##FFFFFF
##2D721B1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#256E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d721b;
/* rgb */ color: rgb(45, 114, 27);
/* oklch */ color: oklch(48.9% 0.138 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9b5e',
    500: '#2d721b',
    950: '#000000',
  },
}
SCSS
$custom: #2d721b;
$custom-light: #6f9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d721b",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 107.586,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.13844,
    "h": 140
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#2D721B
secondary
#9242A7
accent
#43E5C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D721B

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

Preview Lab → · Contrast checker → · Palette generator →

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