#2D731D#2D731D

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

Color values

HEX#2D731D
RGBrgb(45, 115, 29)
HSLhsl(109, 60%, 28%)
HSVhsv(109, 75%, 45%)
CMYKcmyk(60.9%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.62, -38.86, 38.96)
CIE-LCHlch(42.62, 55.02, 134.92°)
OKLaboklab(49.25% -0.1065 0.0884)
OKLCHoklch(49.25% 0.138 140.3)
XYZxyz(7.4344, 12.9074, 3.2618)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D731D #631D73
analogous
#58731D #2D731D #1D7338
triadic
#2D731D #1D2D73 #731D2D
tetradic
#2D731D #1D5873 #631D73 #73381D
square
#2D731D #1D5873 #631D73 #73381D
split-complementary
#2D731D #381D73 #731D58
monochromatic
#0A1806 #1A4211 #2D731D #40A429 #58CE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D731D#FFFFFF#000000##FFFFFF
##2D731D1.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)
#76680E
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#246F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d731d;
/* rgb */ color: rgb(45, 115, 29);
/* oklch */ color: oklch(49.3% 0.138 140.3);
Tailwind
colors: {
  custom: {
    50: '#6f9c5f',
    500: '#2d731d',
    950: '#000000',
  },
}
SCSS
$custom: #2d731d;
$custom-light: #6f9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d731d",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 108.837,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.13841,
    "h": 140.3
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

primary
#2D731D
secondary
#9545A7
accent
#45E3C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D731D

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

Preview Lab → · Contrast checker → · Palette generator →

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