#1C7E13#1C7E13

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

Color values

HEX#1C7E13
RGBrgb(28, 126, 19)
HSLhsl(115, 74%, 28%)
HSVhsv(115, 85%, 49%)
CMYKcmyk(77.8%, 0%, 84.9%, 50.6%)
CIE-LABlab(45.93, -47.29, 45.52)
CIE-LCHlch(45.93, 65.63, 136.09°)
OKLaboklab(51.84% -0.1288 0.1008)
OKLCHoklch(51.84% 0.164 142)
XYZxyz(8.0568, 15.2147, 3.1281)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E13 #75137E
analogous
#517E13 #1C7E13 #137E3F
triadic
#1C7E13 #131C7E #7E131C
tetradic
#1C7E13 #13517E #75137E #7E3F13
square
#1C7E13 #13517E #75137E #7E3F13
split-complementary
#1C7E13 #3F137E #7E1351
monochromatic
#061B04 #10490B #1C7E13 #28B31B #3BDF2C

Accessibility & contrast

On white

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

On black

4.04
#1C7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C7E13#FFFFFF#000000##FFFFFF
##1C7E131.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c7e13;
/* rgb */ color: rgb(28, 126, 19);
/* oklch */ color: oklch(51.8% 0.164 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ba45c',
    500: '#1c7e13',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e13;
$custom-light: #6ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e13",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 114.953,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.16351,
    "h": 142
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#1C7E13
secondary
#A939B4
accent
#37F0E1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1C7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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