#2D731E#2D731E

#2D731E is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.138 H 140.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2D731E
RGBrgb(45, 115, 30)
HSLhsl(109, 59%, 28%)
HSVhsv(109, 74%, 45%)
CMYKcmyk(60.9%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.63, -38.77, 38.56)
CIE-LCHlch(42.63, 54.68, 135.16°)
OKLaboklab(49.26% -0.1062 0.0877)
OKLCHoklch(49.26% 0.138 140.5)
XYZxyz(7.4469, 12.9124, 3.3280)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D731E #641E73
analogous
#57731E #2D731E #1E7339
triadic
#2D731E #1E2D73 #731E2D
tetradic
#2D731E #1E5773 #641E73 #73391E
square
#2D731E #1E5773 #641E73 #73391E
split-complementary
#2D731E #391E73 #731E57
monochromatic
#091806 #1A4211 #2D731E #40A42B #58CD3F

Accessibility & contrast

On white

5.86
#2D731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2D731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D731E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D731E#FFFFFF#000000##FFFFFF
##2D731E1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#246F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d731e;
/* rgb */ color: rgb(45, 115, 30);
/* oklch */ color: oklch(49.3% 0.138 140.5);
Tailwind
colors: {
  custom: {
    50: '#6f9c5f',
    500: '#2d731e',
    950: '#000000',
  },
}
SCSS
$custom: #2d731e;
$custom-light: #6f9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d731e",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 109.412,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.13773,
    "h": 140.5
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#2D731E
secondary
#9646A7
accent
#46E2C6
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D731E

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

Preview Lab → · Contrast checker → · Palette generator →

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