#1C7B16#1C7B16

#1C7B16 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.159 H 142.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1C7B16
RGBrgb(28, 123, 22)
HSLhsl(116, 70%, 28%)
HSVhsv(116, 82%, 48%)
CMYKcmyk(77.2%, 0%, 82.1%, 51.8%)
CIE-LABlab(44.90, -46.09, 43.63)
CIE-LCHlch(44.90, 63.47, 136.57°)
OKLaboklab(50.99% -0.1254 0.0973)
OKLCHoklch(50.99% 0.159 142.2)
XYZxyz(7.7062, 14.4698, 3.1457)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B16 #75167B
analogous
#4E7B16 #1C7B16 #167B42
triadic
#1C7B16 #161C7B #7B161C
tetradic
#1C7B16 #164E7B #75167B #7B4216
square
#1C7B16 #164E7B #75167B #7B4216
split-complementary
#1C7B16 #42167B #7B164E
monochromatic
#061A05 #10470D #1C7B16 #28AF1F #3BDA31

Accessibility & contrast

On white

5.39
#1C7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1C7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7B16
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7B16#FFFFFF#000000##FFFFFF
##1C7B161.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7b16;
/* rgb */ color: rgb(28, 123, 22);
/* oklch */ color: oklch(51.0% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa25c',
    500: '#1c7b16',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b16;
$custom-light: #6aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b16",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 116.436,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.1587,
    "h": 142.2
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#1C7B16
secondary
#A93DB0
accent
#3BECE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1C7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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