#1C7518#1C7518

#1C7518 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.151 H 142.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1C7518
RGBrgb(28, 117, 24)
HSLhsl(117, 66%, 28%)
HSVhsv(117, 79%, 46%)
CMYKcmyk(76.1%, 0%, 79.5%, 54.1%)
CIE-LABlab(42.82, -43.89, 40.93)
CIE-LCHlch(42.82, 60.01, 137.00°)
OKLaboklab(49.26% -0.1193 0.0919)
OKLCHoklch(49.26% 0.151 142.4)
XYZxyz(7.0046, 13.0346, 3.0108)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7518 #711875
analogous
#4B7518 #1C7518 #187542
triadic
#1C7518 #181C75 #75181C
tetradic
#1C7518 #184B75 #711875 #754218
square
#1C7518 #184B75 #711875 #754218
split-complementary
#1C7518 #421875 #75184B
monochromatic
#061905 #10420E #1C7518 #28A822 #39D532

Accessibility & contrast

On white

5.82
#1C7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1C7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7518
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7518#FFFFFF#000000##FFFFFF
##1C75181.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1c7518;
/* rgb */ color: rgb(28, 117, 24);
/* oklch */ color: oklch(49.3% 0.151 142.4);
Tailwind
colors: {
  custom: {
    50: '#689e5c',
    500: '#1c7518',
    950: '#000000',
  },
}
SCSS
$custom: #1c7518;
$custom-light: #689e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7518",
  "rgb": {
    "r": 28,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 117.419,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.15064,
    "h": 142.4
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#1C7518
secondary
#A63FAA
accent
#3FE9E2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7518

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

Preview Lab → · Contrast checker → · Palette generator →

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