#1C7E16#1C7E16

#1C7E16 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.162 H 142.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1C7E16
RGBrgb(28, 126, 22)
HSLhsl(117, 70%, 29%)
HSVhsv(117, 83%, 49%)
CMYKcmyk(77.8%, 0%, 82.5%, 50.6%)
CIE-LABlab(45.94, -47.10, 44.62)
CIE-LCHlch(45.94, 64.88, 136.55°)
OKLaboklab(51.86% -0.1281 0.0993)
OKLCHoklch(51.86% 0.162 142.2)
XYZxyz(8.0841, 15.2256, 3.2717)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E16 #78167E
analogous
#507E16 #1C7E16 #167E44
triadic
#1C7E16 #161C7E #7E161C
tetradic
#1C7E16 #16507E #78167E #7E4416
square
#1C7E16 #16507E #78167E #7E4416
split-complementary
#1C7E16 #44167E #7E1650
monochromatic
#061A05 #104A0D #1C7E16 #28B21F #3DDB33

Accessibility & contrast

On white

5.19
#1C7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1C7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E16
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E16#FFFFFF#000000##FFFFFF
##1C7E161.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e16;
/* rgb */ color: rgb(28, 126, 22);
/* oklch */ color: oklch(51.9% 0.162 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba45d',
    500: '#1c7e16',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e16;
$custom-light: #6ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e16",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 116.538,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.16212,
    "h": 142.2
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#1C7E16
secondary
#AC3DB3
accent
#3BEDE3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1C7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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