#1C7918#1C7918

#1C7918 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.155 H 142.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1C7918
RGBrgb(28, 121, 24)
HSLhsl(118, 67%, 28%)
HSVhsv(118, 80%, 47%)
CMYKcmyk(76.9%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.21, -45.27, 42.29)
CIE-LCHlch(44.21, 61.95, 136.94°)
OKLaboklab(50.43% -0.1231 0.0948)
OKLCHoklch(50.43% 0.155 142.4)
XYZxyz(7.4807, 13.9867, 3.1694)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7918 #751879
analogous
#4C7918 #1C7918 #187944
triadic
#1C7918 #181C79 #79181C
tetradic
#1C7918 #184C79 #751879 #794418
square
#1C7918 #184C79 #751879 #794418
split-complementary
#1C7918 #441879 #79184C
monochromatic
#061A05 #10460E #1C7918 #28AC22 #3BD735

Accessibility & contrast

On white

5.53
#1C7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1C7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7918
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7918#FFFFFF#000000##FFFFFF
##1C79181.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c7918;
/* rgb */ color: rgb(28, 121, 24);
/* oklch */ color: oklch(50.4% 0.155 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#1c7918',
    950: '#000000',
  },
}
SCSS
$custom: #1c7918;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7918",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 117.526,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.15534,
    "h": 142.4
  },
  "luminance": 0.13988
}

Semantic roles & 50–950 ramp

primary
#1C7918
secondary
#A93FAE
accent
#3EEAE3
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1C7918

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

Preview Lab → · Contrast checker → · Palette generator →

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