#1C7311#1C7311

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

Color values

HEX#1C7311
RGBrgb(28, 115, 17)
HSLhsl(113, 74%, 26%)
HSVhsv(113, 85%, 45%)
CMYKcmyk(75.7%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.07, -43.67, 42.55)
CIE-LCHlch(42.07, 60.97, 135.75°)
OKLaboklab(48.64% -0.1191 0.0943)
OKLCHoklch(48.64% 0.152 141.6)
XYZxyz(6.7104, 12.5481, 2.5986)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7311 #681173
analogous
#4D7311 #1C7311 #117337
triadic
#1C7311 #111C73 #73111C
tetradic
#1C7311 #114D73 #681173 #733711
square
#1C7311 #114D73 #681173 #733711
split-complementary
#1C7311 #371173 #73114D
monochromatic
#061B04 #0F3E09 #1C7311 #29A819 #36DE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7311#FFFFFF#000000##FFFFFF
##1C73111.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)
#016F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1c7311;
/* rgb */ color: rgb(28, 115, 17);
/* oklch */ color: oklch(48.6% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#689c59',
    500: '#1c7311',
    950: '#000000',
  },
}
SCSS
$custom: #1c7311;
$custom-light: #689c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7311",
  "rgb": {
    "r": 28,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 113.265,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48637,
    "c": 0.15187,
    "h": 141.6
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#1C7311
secondary
#9D36AA
accent
#37F1DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7311

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

Preview Lab → · Contrast checker → · Palette generator →

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