#2D731F#2D731F

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

Color values

HEX#2D731F
RGBrgb(45, 115, 31)
HSLhsl(110, 58%, 29%)
HSVhsv(110, 73%, 45%)
CMYKcmyk(60.9%, 0%, 73%, 54.9%)
CIE-LABlab(42.64, -38.68, 38.14)
CIE-LCHlch(42.64, 54.32, 135.40°)
OKLaboklab(49.27% -0.1059 0.087)
OKLCHoklch(49.27% 0.137 140.6)
XYZxyz(7.4599, 12.9176, 3.3963)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D731F #651F73
analogous
#57731F #2D731F #1F733B
triadic
#2D731F #1F2D73 #731F2D
tetradic
#2D731F #1F5773 #651F73 #733B1F
square
#2D731F #1F5773 #651F73 #733B1F
split-complementary
#2D731F #3B1F73 #731F57
monochromatic
#091806 #1A4312 #2D731F #40A32C #58CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D731F#FFFFFF#000000##FFFFFF
##2D731F1.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)
#766812
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#246F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d731f;
/* rgb */ color: rgb(45, 115, 31);
/* oklch */ color: oklch(49.3% 0.137 140.6);
Tailwind
colors: {
  custom: {
    50: '#6f9c60',
    500: '#2d731f',
    950: '#000000',
  },
}
SCSS
$custom: #2d731f;
$custom-light: #6f9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d731f",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 110,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.13704,
    "h": 140.6
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#2D731F
secondary
#9747A7
accent
#47E1C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D731F

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

Preview Lab → · Contrast checker → · Palette generator →

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