#1C7216#1C7216

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

Color values

HEX#1C7216
RGBrgb(28, 114, 22)
HSLhsl(116, 68%, 27%)
HSVhsv(116, 81%, 45%)
CMYKcmyk(75.4%, 0%, 80.7%, 55.3%)
CIE-LABlab(41.75, -42.99, 40.60)
CIE-LCHlch(41.75, 59.13, 136.63°)
OKLaboklab(48.38% -0.117 0.0909)
OKLCHoklch(48.38% 0.148 142.1)
XYZxyz(6.6406, 12.3387, 2.7905)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7216 #6C1672
analogous
#4A7216 #1C7216 #16723E
triadic
#1C7216 #161C72 #72161C
tetradic
#1C7216 #164A72 #6C1672 #723E16
square
#1C7216 #164A72 #6C1672 #723E16
split-complementary
#1C7216 #3E1672 #72164A
monochromatic
#061A05 #0F3F0C #1C7216 #29A520 #37D62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7216#FFFFFF#000000##FFFFFF
##1C72161.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)
#756701
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#016E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1c7216;
/* rgb */ color: rgb(28, 114, 22);
/* oklch */ color: oklch(48.4% 0.148 142.1);
Tailwind
colors: {
  custom: {
    50: '#689b5b',
    500: '#1c7216',
    950: '#000000',
  },
}
SCSS
$custom: #1c7216;
$custom-light: #689b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7216",
  "rgb": {
    "r": 28,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 116.087,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.14819,
    "h": 142.1
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#1C7216
secondary
#A13CA8
accent
#3DEBDF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7216

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

Preview Lab → · Contrast checker → · Palette generator →

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