#1C7D14#1C7D14

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

Color values

HEX#1C7D14
RGBrgb(28, 125, 20)
HSLhsl(115, 72%, 28%)
HSVhsv(115, 84%, 49%)
CMYKcmyk(77.6%, 0%, 84%, 51%)
CIE-LABlab(45.58, -46.89, 44.90)
CIE-LCHlch(45.58, 64.92, 136.24°)
OKLaboklab(51.56% -0.1277 0.0996)
OKLCHoklch(51.56% 0.162 142)
XYZxyz(7.9383, 14.9637, 3.1316)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D14 #75147D
analogous
#507D14 #1C7D14 #147D40
triadic
#1C7D14 #141C7D #7D141C
tetradic
#1C7D14 #14507D #75147D #7D4014
square
#1C7D14 #14507D #75147D #7D4014
split-complementary
#1C7D14 #40147D #7D1450
monochromatic
#061A04 #10480C #1C7D14 #28B21C #3BDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7D14#FFFFFF#000000##FFFFFF
##1C7D141.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)
#756921
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d14;
/* rgb */ color: rgb(28, 125, 20);
/* oklch */ color: oklch(51.6% 0.162 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ba45c',
    500: '#1c7d14',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d14;
$custom-light: #6ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d14",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 115.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.16194,
    "h": 142
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#1C7D14
secondary
#A93AB2
accent
#39EFE1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1C7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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