#1C7816#1C7816

#1C7816 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.155 H 142.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#1C7816
RGBrgb(28, 120, 22)
HSLhsl(116, 69%, 28%)
HSVhsv(116, 82%, 47%)
CMYKcmyk(76.7%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.85, -45.07, 42.63)
CIE-LCHlch(43.85, 62.04, 136.59°)
OKLaboklab(50.12% -0.1226 0.0952)
OKLCHoklch(50.12% 0.155 142.2)
XYZxyz(7.3397, 13.7369, 3.0236)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7816 #721678
analogous
#4D7816 #1C7816 #167841
triadic
#1C7816 #161C78 #78161C
tetradic
#1C7816 #164D78 #721678 #784116
square
#1C7816 #164D78 #721678 #784116
split-complementary
#1C7816 #411678 #78164D
monochromatic
#061A05 #10440D #1C7816 #28AC1F #3AD92F

Accessibility & contrast

On white

5.60
#1C7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#1C7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7816
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7816#FFFFFF#000000##FFFFFF
##1C78161.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1c7816;
/* rgb */ color: rgb(28, 120, 22);
/* oklch */ color: oklch(50.1% 0.155 142.2);
Tailwind
colors: {
  custom: {
    50: '#69a05c',
    500: '#1c7816',
    950: '#000000',
  },
}
SCSS
$custom: #1c7816;
$custom-light: #69a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7816",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 116.327,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50123,
    "c": 0.15523,
    "h": 142.2
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#1C7816
secondary
#A63CAD
accent
#3CECE1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #1C7816

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

Preview Lab → · Contrast checker → · Palette generator →

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