#1C7C15#1C7C15

#1C7C15 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.160 H 142.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1C7C15
RGBrgb(28, 124, 21)
HSLhsl(116, 71%, 28%)
HSVhsv(116, 83%, 49%)
CMYKcmyk(77.4%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.24, -46.49, 44.27)
CIE-LCHlch(45.24, 64.20, 136.40°)
OKLaboklab(51.28% -0.1265 0.0985)
OKLCHoklch(51.28% 0.16 142.1)
XYZxyz(7.8214, 14.7154, 3.1375)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7C15 #75157C
analogous
#4F7C15 #1C7C15 #157C41
triadic
#1C7C15 #151C7C #7C151C
tetradic
#1C7C15 #154F7C #75157C #7C4115
square
#1C7C15 #154F7C #75157C #7C4115
split-complementary
#1C7C15 #41157C #7C154F
monochromatic
#061A04 #10480C #1C7C15 #28B01E #3BDC30

Accessibility & contrast

On white

5.33
#1C7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1C7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7C15
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7C15#FFFFFF#000000##FFFFFF
##1C7C151.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c7c15;
/* rgb */ color: rgb(28, 124, 21);
/* oklch */ color: oklch(51.3% 0.160 142.1);
Tailwind
colors: {
  custom: {
    50: '#6aa35c',
    500: '#1c7c15',
    950: '#000000',
  },
}
SCSS
$custom: #1c7c15;
$custom-light: #6aa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7c15",
  "rgb": {
    "r": 28,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 115.922,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.16033,
    "h": 142.1
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#1C7C15
secondary
#A93CB1
accent
#3AEEE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1C7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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