#1C7212#1C7212

#1C7212 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.150 H 141.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#1C7212
RGBrgb(28, 114, 18)
HSLhsl(114, 73%, 26%)
HSVhsv(114, 84%, 45%)
CMYKcmyk(75.4%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.73, -43.26, 41.92)
CIE-LCHlch(41.73, 60.24, 135.90°)
OKLaboklab(48.35% -0.1179 0.0931)
OKLCHoklch(48.35% 0.15 141.7)
XYZxyz(6.6050, 12.3244, 2.6029)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7212 #681272
analogous
#4C7212 #1C7212 #127238
triadic
#1C7212 #121C72 #72121C
tetradic
#1C7212 #124C72 #681272 #723812
square
#1C7212 #124C72 #681272 #723812
split-complementary
#1C7212 #381272 #72124C
monochromatic
#061A04 #0F3D0A #1C7212 #29A71A #36DC23

Accessibility & contrast

On white

6.06
#1C7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1C7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7212
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7212#FFFFFF#000000##FFFFFF
##1C72121.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#026E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1c7212;
/* rgb */ color: rgb(28, 114, 18);
/* oklch */ color: oklch(48.4% 0.150 141.7);
Tailwind
colors: {
  custom: {
    50: '#689b59',
    500: '#1c7212',
    950: '#000000',
  },
}
SCSS
$custom: #1c7212;
$custom-light: #689b59;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7212",
  "rgb": {
    "r": 28,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 113.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.15025,
    "h": 141.7
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#1C7212
secondary
#9D37A9
accent
#38EFDC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7212

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

Preview Lab → · Contrast checker → · Palette generator →

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