#2D711F#2D711F

#2D711F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.134 H 140.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2D711F
RGBrgb(45, 113, 31)
HSLhsl(110, 57%, 28%)
HSVhsv(110, 73%, 44%)
CMYKcmyk(60.2%, 0%, 72.6%, 55.7%)
CIE-LABlab(41.95, -37.88, 37.42)
CIE-LCHlch(41.95, 53.25, 135.35°)
OKLaboklab(48.7% -0.1037 0.0855)
OKLCHoklch(48.7% 0.134 140.5)
XYZxyz(7.2343, 12.4664, 3.3211)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D711F #631F71
analogous
#56711F #2D711F #1F713A
triadic
#2D711F #1F2D71 #711F2D
tetradic
#2D711F #1F5671 #631F71 #713A1F
square
#2D711F #1F5671 #631F71 #713A1F
split-complementary
#2D711F #3A1F71 #711F56
monochromatic
#0A1807 #1A4112 #2D711F #40A12C #58CB40

Accessibility & contrast

On white

6.01
#2D711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2D711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D711F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D711F#FFFFFF#000000##FFFFFF
##2D711F1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#246D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d711f;
/* rgb */ color: rgb(45, 113, 31);
/* oklch */ color: oklch(48.7% 0.134 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9a60',
    500: '#2d711f',
    950: '#000000',
  },
}
SCSS
$custom: #2d711f;
$custom-light: #6e9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d711f",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 109.756,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.13441,
    "h": 140.5
  },
  "luminance": 0.12467
}

Semantic roles & 50–950 ramp

primary
#2D711F
secondary
#9547A5
accent
#48E0C6
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D711F

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

Preview Lab → · Contrast checker → · Palette generator →

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