#1C7D16#1C7D16

#1C7D16 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.161 H 142.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1C7D16
RGBrgb(28, 125, 22)
HSLhsl(117, 70%, 29%)
HSVhsv(117, 82%, 49%)
CMYKcmyk(77.6%, 0%, 82.4%, 51%)
CIE-LABlab(45.59, -46.77, 44.29)
CIE-LCHlch(45.59, 64.41, 136.56°)
OKLaboklab(51.57% -0.1272 0.0986)
OKLCHoklch(51.57% 0.161 142.2)
XYZxyz(7.9568, 14.9711, 3.2293)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D16 #77167D
analogous
#507D16 #1C7D16 #167D44
triadic
#1C7D16 #161C7D #7D161C
tetradic
#1C7D16 #16507D #77167D #7D4416
square
#1C7D16 #16507D #77167D #7D4416
split-complementary
#1C7D16 #44167D #7D1650
monochromatic
#061A05 #10490D #1C7D16 #28B11F #3CDB32

Accessibility & contrast

On white

5.26
#1C7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1C7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D16
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D16#FFFFFF#000000##FFFFFF
##1C7D161.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d16;
/* rgb */ color: rgb(28, 125, 22);
/* oklch */ color: oklch(51.6% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa45d',
    500: '#1c7d16',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d16;
$custom-light: #6aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d16",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 116.505,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.16099,
    "h": 142.2
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#1C7D16
secondary
#AB3DB2
accent
#3BEDE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1C7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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