#1D7311#1D7311

#1D7311 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.152 H 141.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1D7311
RGBrgb(29, 115, 17)
HSLhsl(113, 74%, 26%)
HSVhsv(113, 85%, 45%)
CMYKcmyk(74.8%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.10, -43.48, 42.57)
CIE-LCHlch(42.10, 60.85, 135.60°)
OKLaboklab(48.66% -0.1186 0.0943)
OKLCHoklch(48.66% 0.152 141.5)
XYZxyz(6.7382, 12.5624, 2.5999)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7311 #671173
analogous
#4E7311 #1D7311 #117336
triadic
#1D7311 #111D73 #73111D
tetradic
#1D7311 #114E73 #671173 #733611
square
#1D7311 #114E73 #671173 #733611
split-complementary
#1D7311 #361173 #73114E
monochromatic
#071B04 #103E09 #1D7311 #2AA819 #38DE21

Accessibility & contrast

On white

5.98
#1D7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1D7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D7311#FFFFFF#000000##FFFFFF
##1D73111.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#046F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1d7311;
/* rgb */ color: rgb(29, 115, 17);
/* oklch */ color: oklch(48.7% 0.152 141.5);
Tailwind
colors: {
  custom: {
    50: '#699c59',
    500: '#1d7311',
    950: '#000000',
  },
}
SCSS
$custom: #1d7311;
$custom-light: #699c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7311",
  "rgb": {
    "r": 29,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 112.653,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.15155,
    "h": 141.5
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#1D7311
secondary
#9C36AA
accent
#37F1DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1D7311

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

Preview Lab → · Contrast checker → · Palette generator →

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