#1C7A18#1C7A18

#1C7A18 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.157 H 142.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1C7A18
RGBrgb(28, 122, 24)
HSLhsl(118, 67%, 29%)
HSVhsv(118, 80%, 48%)
CMYKcmyk(77%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.56, -45.61, 42.63)
CIE-LCHlch(44.56, 62.43, 136.93°)
OKLaboklab(50.72% -0.124 0.0955)
OKLCHoklch(50.72% 0.157 142.4)
XYZxyz(7.6028, 14.2310, 3.2102)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A18 #76187A
analogous
#4D7A18 #1C7A18 #187A45
triadic
#1C7A18 #181C7A #7A181C
tetradic
#1C7A18 #184D7A #76187A #7A4518
square
#1C7A18 #184D7A #76187A #7A4518
split-complementary
#1C7A18 #45187A #7A184D
monochromatic
#061A05 #10470E #1C7A18 #28AD22 #3CD735

Accessibility & contrast

On white

5.46
#1C7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1C7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A18
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A18#FFFFFF#000000##FFFFFF
##1C7A181.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c7a18;
/* rgb */ color: rgb(28, 122, 24);
/* oklch */ color: oklch(50.7% 0.157 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa15d',
    500: '#1c7a18',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a18;
$custom-light: #6aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a18",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 117.551,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50716,
    "c": 0.1565,
    "h": 142.4
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#1C7A18
secondary
#AA3FAF
accent
#3EEAE3
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1C7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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