#1C7312#1C7312

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

Color values

HEX#1C7312
RGBrgb(28, 115, 18)
HSLhsl(114, 73%, 26%)
HSVhsv(114, 84%, 45%)
CMYKcmyk(75.7%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.08, -43.61, 42.24)
CIE-LCHlch(42.08, 60.71, 135.91°)
OKLaboklab(48.64% -0.1189 0.0938)
OKLCHoklch(48.64% 0.151 141.7)
XYZxyz(6.7184, 12.5513, 2.6407)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7312 #691273
analogous
#4C7312 #1C7312 #127338
triadic
#1C7312 #121C73 #73121C
tetradic
#1C7312 #124C73 #691273 #733812
square
#1C7312 #124C73 #691273 #733812
split-complementary
#1C7312 #381273 #73124C
monochromatic
#061A04 #0F3E0A #1C7312 #29A81A #36DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7312#FFFFFF#000000##FFFFFF
##1C73121.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: #1c7312;
/* rgb */ color: rgb(28, 115, 18);
/* oklch */ color: oklch(48.6% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#689c59',
    500: '#1c7312',
    950: '#000000',
  },
}
SCSS
$custom: #1c7312;
$custom-light: #689c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7312",
  "rgb": {
    "r": 28,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 113.814,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48642,
    "c": 0.15141,
    "h": 141.7
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#1C7312
secondary
#9E37AA
accent
#38F0DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7312

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

Preview Lab → · Contrast checker → · Palette generator →

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