#1C7315#1C7315

#1C7315 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.150 H 142.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1C7315
RGBrgb(28, 115, 21)
HSLhsl(116, 69%, 27%)
HSVhsv(116, 82%, 45%)
CMYKcmyk(75.7%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.10, -43.41, 41.28)
CIE-LCHlch(42.10, 59.90, 136.44°)
OKLaboklab(48.66% -0.1182 0.0922)
OKLCHoklch(48.66% 0.15 142)
XYZxyz(6.7446, 12.5617, 2.7785)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7315 #6C1573
analogous
#4B7315 #1C7315 #15733D
triadic
#1C7315 #151C73 #73151C
tetradic
#1C7315 #154B73 #6C1573 #733D15
square
#1C7315 #154B73 #6C1573 #733D15
split-complementary
#1C7315 #3D1573 #73154B
monochromatic
#061A05 #0F3F0C #1C7315 #29A71E #37D82A

Accessibility & contrast

On white

5.98
#1C7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1C7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7315
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7315#FFFFFF#000000##FFFFFF
##1C73151.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1c7315;
/* rgb */ color: rgb(28, 115, 21);
/* oklch */ color: oklch(48.7% 0.150 142.0);
Tailwind
colors: {
  custom: {
    50: '#689c5b',
    500: '#1c7315',
    950: '#000000',
  },
}
SCSS
$custom: #1c7315;
$custom-light: #689c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7315",
  "rgb": {
    "r": 28,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 115.532,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.14992,
    "h": 142
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#1C7315
secondary
#A13BA9
accent
#3CECDF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7315

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

Preview Lab → · Contrast checker → · Palette generator →

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