#1C7F16#1C7F16

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

Color values

HEX#1C7F16
RGBrgb(28, 127, 22)
HSLhsl(117, 70%, 29%)
HSVhsv(117, 83%, 50%)
CMYKcmyk(78%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.29, -47.44, 44.95)
CIE-LCHlch(46.29, 65.35, 136.54°)
OKLaboklab(52.15% -0.129 0.1)
OKLCHoklch(52.15% 0.163 142.2)
XYZxyz(8.2126, 15.4826, 3.3145)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F16 #79167F
analogous
#517F16 #1C7F16 #167F44
triadic
#1C7F16 #161C7F #7F161C
tetradic
#1C7F16 #16517F #79167F #7F4416
square
#1C7F16 #16517F #79167F #7F4416
split-complementary
#1C7F16 #44167F #7F1651
monochromatic
#061A05 #104B0D #1C7F16 #28B31F #3DDC34

Accessibility & contrast

On white

5.13
#1C7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1C7F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7F16
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7F16#FFFFFF#000000##FFFFFF
##1C7F161.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c7f16;
/* rgb */ color: rgb(28, 127, 22);
/* oklch */ color: oklch(52.1% 0.163 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ba55d',
    500: '#1c7f16',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f16;
$custom-light: #6ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f16",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 116.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.16327,
    "h": 142.2
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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