#1C7B14#1C7B14

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

Color values

HEX#1C7B14
RGBrgb(28, 123, 20)
HSLhsl(115, 72%, 28%)
HSVhsv(115, 84%, 48%)
CMYKcmyk(77.2%, 0%, 83.7%, 51.8%)
CIE-LABlab(44.89, -46.22, 44.25)
CIE-LCHlch(44.89, 63.99, 136.24°)
OKLaboklab(50.98% -0.1258 0.0983)
OKLCHoklch(50.98% 0.16 142)
XYZxyz(7.6877, 14.4624, 3.0481)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B14 #73147B
analogous
#4F7B14 #1C7B14 #147B3F
triadic
#1C7B14 #141C7B #7B141C
tetradic
#1C7B14 #144F7B #73147B #7B3F14
square
#1C7B14 #144F7B #73147B #7B3F14
split-complementary
#1C7B14 #3F147B #7B144F
monochromatic
#061A04 #10460B #1C7B14 #28B01D #3ADD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7B14#FFFFFF#000000##FFFFFF
##1C7B141.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)
#746721
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7b14;
/* rgb */ color: rgb(28, 123, 20);
/* oklch */ color: oklch(51.0% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#6aa25c',
    500: '#1c7b14',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b14;
$custom-light: #6aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b14",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 115.34,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.15966,
    "h": 142
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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