#1C7A16#1C7A16

#1C7A16 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.158 H 142.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1C7A16
RGBrgb(28, 122, 22)
HSLhsl(116, 69%, 28%)
HSVhsv(116, 82%, 48%)
CMYKcmyk(77%, 0%, 82%, 52.2%)
CIE-LABlab(44.55, -45.75, 43.30)
CIE-LCHlch(44.55, 62.99, 136.58°)
OKLaboklab(50.7% -0.1245 0.0966)
OKLCHoklch(50.7% 0.158 142.2)
XYZxyz(7.5828, 14.2230, 3.1046)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A16 #74167A
analogous
#4E7A16 #1C7A16 #167A42
triadic
#1C7A16 #161C7A #7A161C
tetradic
#1C7A16 #164E7A #74167A #7A4216
square
#1C7A16 #164E7A #74167A #7A4216
split-complementary
#1C7A16 #42167A #7A164E
monochromatic
#061A05 #10460D #1C7A16 #28AE1F #3BDA31

Accessibility & contrast

On white

5.46
#1C7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1C7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A16
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A16#FFFFFF#000000##FFFFFF
##1C7A161.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c7a16;
/* rgb */ color: rgb(28, 122, 22);
/* oklch */ color: oklch(50.7% 0.158 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa15c',
    500: '#1c7a16',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a16;
$custom-light: #6aa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a16",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 116.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.15755,
    "h": 142.2
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#1C7A16
secondary
#A83DAF
accent
#3CECE2
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1C7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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