#1C7412#1C7412

#1C7412 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.153 H 141.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1C7412
RGBrgb(28, 116, 18)
HSLhsl(114, 73%, 26%)
HSVhsv(114, 84%, 45%)
CMYKcmyk(75.9%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.43, -43.95, 42.57)
CIE-LCHlch(42.43, 61.19, 135.91°)
OKLaboklab(48.93% -0.1198 0.0945)
OKLCHoklch(48.93% 0.153 141.7)
XYZxyz(6.8331, 12.7806, 2.6789)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7412 #6A1274
analogous
#4D7412 #1C7412 #127439
triadic
#1C7412 #121C74 #74121C
tetradic
#1C7412 #124D74 #6A1274 #743912
square
#1C7412 #124D74 #6A1274 #743912
split-complementary
#1C7412 #391274 #74124D
monochromatic
#061A04 #0F3F0A #1C7412 #29A91A #36DD23

Accessibility & contrast

On white

5.91
#1C7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1C7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7412
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7412#FFFFFF#000000##FFFFFF
##1C74121.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1c7412;
/* rgb */ color: rgb(28, 116, 18);
/* oklch */ color: oklch(48.9% 0.153 141.7);
Tailwind
colors: {
  custom: {
    50: '#689d5a',
    500: '#1c7412',
    950: '#000000',
  },
}
SCSS
$custom: #1c7412;
$custom-light: #689d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7412",
  "rgb": {
    "r": 28,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 113.878,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.15257,
    "h": 141.7
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C7412

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

Preview Lab → · Contrast checker → · Palette generator →

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