#1C7E18#1C7E18

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

Color values

HEX#1C7E18
RGBrgb(28, 126, 24)
HSLhsl(118, 68%, 29%)
HSVhsv(118, 81%, 49%)
CMYKcmyk(77.8%, 0%, 81%, 50.6%)
CIE-LABlab(45.95, -46.97, 43.98)
CIE-LCHlch(45.95, 64.34, 136.88°)
OKLaboklab(51.87% -0.1277 0.0983)
OKLCHoklch(51.87% 0.161 142.4)
XYZxyz(8.1041, 15.2336, 3.3772)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E18 #7A187E
analogous
#4F7E18 #1C7E18 #187E47
triadic
#1C7E18 #181C7E #7E181C
tetradic
#1C7E18 #184F7E #7A187E #7E4718
square
#1C7E18 #184F7E #7A187E #7E4718
split-complementary
#1C7E18 #47187E #7E184F
monochromatic
#061A05 #114B0E #1C7E18 #27B122 #3ED937

Accessibility & contrast

On white

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

On black

4.05
#1C7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C7E18#FFFFFF#000000##FFFFFF
##1C7E181.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c7e18;
/* rgb */ color: rgb(28, 126, 24);
/* oklch */ color: oklch(51.9% 0.161 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba45e',
    500: '#1c7e18',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e18;
$custom-light: #6ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e18",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 117.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51871,
    "c": 0.16112,
    "h": 142.4
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#1C7E18
secondary
#AE3FB2
accent
#3DEBE4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1C7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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