#1C7215#1C7215

#1C7215 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.149 H 142.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#1C7215
RGBrgb(28, 114, 21)
HSLhsl(115, 69%, 26%)
HSVhsv(115, 82%, 45%)
CMYKcmyk(75.4%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.74, -43.06, 40.94)
CIE-LCHlch(41.74, 59.42, 136.44°)
OKLaboklab(48.37% -0.1172 0.0915)
OKLCHoklch(48.37% 0.149 142)
XYZxyz(6.6312, 12.3349, 2.7407)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7215 #6B1572
analogous
#4B7215 #1C7215 #15723D
triadic
#1C7215 #151C72 #72151C
tetradic
#1C7215 #154B72 #6B1572 #723D15
square
#1C7215 #154B72 #6B1572 #723D15
split-complementary
#1C7215 #3D1572 #72154B
monochromatic
#061A05 #0F3E0B #1C7215 #29A61F #37D82A

Accessibility & contrast

On white

6.06
#1C7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1C7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7215
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7215#FFFFFF#000000##FFFFFF
##1C72151.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#016E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1c7215;
/* rgb */ color: rgb(28, 114, 21);
/* oklch */ color: oklch(48.4% 0.149 142.0);
Tailwind
colors: {
  custom: {
    50: '#689b5b',
    500: '#1c7215',
    950: '#000000',
  },
}
SCSS
$custom: #1c7215;
$custom-light: #689b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7215",
  "rgb": {
    "r": 28,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 115.484,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48369,
    "c": 0.14873,
    "h": 142
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#1C7215
secondary
#A03BA8
accent
#3CECDF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7215

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

Preview Lab → · Contrast checker → · Palette generator →

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