#2D7311#2D7311

#2D7311 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.145 H 139.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2D7311
RGBrgb(45, 115, 17)
HSLhsl(103, 74%, 26%)
HSVhsv(103, 85%, 45%)
CMYKcmyk(60.9%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.55, -39.70, 43.16)
CIE-LCHlch(42.55, 58.64, 132.61°)
OKLaboklab(49.17% -0.1095 0.0954)
OKLCHoklch(49.17% 0.145 139)
XYZxyz(7.3138, 12.8592, 2.6269)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7311 #571173
analogous
#5E7311 #2D7311 #117326
triadic
#2D7311 #112D73 #73112D
tetradic
#2D7311 #115E73 #571173 #732611
square
#2D7311 #115E73 #571173 #732611
split-complementary
#2D7311 #261173 #73115E
monochromatic
#0A1B04 #183E09 #2D7311 #42A819 #57DE21

Accessibility & contrast

On white

5.88
#2D7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2D7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7311
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7311#FFFFFF#000000##FFFFFF
##2D73111.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#256F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7311;
/* rgb */ color: rgb(45, 115, 17);
/* oklch */ color: oklch(49.2% 0.145 139.0);
Tailwind
colors: {
  custom: {
    50: '#6f9c59',
    500: '#2d7311',
    950: '#000000',
  },
}
SCSS
$custom: #2d7311;
$custom-light: #6f9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7311",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 102.857,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49166,
    "c": 0.1452,
    "h": 139
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#2D7311
secondary
#8936AA
accent
#37F1BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7311

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

Preview Lab → · Contrast checker → · Palette generator →

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