#1C7B15#1C7B15

#1C7B15 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.159 H 142.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1C7B15
RGBrgb(28, 123, 21)
HSLhsl(116, 71%, 28%)
HSVhsv(116, 83%, 48%)
CMYKcmyk(77.2%, 0%, 82.9%, 51.8%)
CIE-LABlab(44.89, -46.16, 43.95)
CIE-LCHlch(44.89, 63.73, 136.40°)
OKLaboklab(50.99% -0.1256 0.0978)
OKLCHoklch(50.99% 0.159 142.1)
XYZxyz(7.6968, 14.4661, 3.0959)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B15 #74157B
analogous
#4F7B15 #1C7B15 #157B41
triadic
#1C7B15 #151C7B #7B151C
tetradic
#1C7B15 #154F7B #74157B #7B4115
square
#1C7B15 #154F7B #74157B #7B4115
split-complementary
#1C7B15 #41157B #7B154F
monochromatic
#061A04 #10470C #1C7B15 #28AF1E #3BDB2F

Accessibility & contrast

On white

5.39
#1C7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1C7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7B15
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7B15#FFFFFF#000000##FFFFFF
##1C7B151.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7b15;
/* rgb */ color: rgb(28, 123, 21);
/* oklch */ color: oklch(51.0% 0.159 142.1);
Tailwind
colors: {
  custom: {
    50: '#6aa25c',
    500: '#1c7b15',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b15;
$custom-light: #6aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b15",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 115.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.15919,
    "h": 142.1
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#1C7B15
secondary
#A83BB0
accent
#3AEEE1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1C7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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