#1C7E15#1C7E15

#1C7E15 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.163 H 142.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1C7E15
RGBrgb(28, 126, 21)
HSLhsl(116, 71%, 29%)
HSVhsv(116, 83%, 49%)
CMYKcmyk(77.8%, 0%, 83.3%, 50.6%)
CIE-LABlab(45.94, -47.17, 44.93)
CIE-LCHlch(45.94, 65.14, 136.39°)
OKLaboklab(51.85% -0.1284 0.0998)
OKLCHoklch(51.85% 0.163 142.1)
XYZxyz(8.0746, 15.2218, 3.2219)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E15 #77157E
analogous
#517E15 #1C7E15 #157E43
triadic
#1C7E15 #151C7E #7E151C
tetradic
#1C7E15 #15517E #77157E #7E4315
square
#1C7E15 #15517E #77157E #7E4315
split-complementary
#1C7E15 #43157E #7E1551
monochromatic
#061A04 #104A0C #1C7E15 #28B21E #3CDD31

Accessibility & contrast

On white

5.19
#1C7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1C7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E15
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E15#FFFFFF#000000##FFFFFF
##1C7E151.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e15;
/* rgb */ color: rgb(28, 126, 21);
/* oklch */ color: oklch(51.9% 0.163 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba45c',
    500: '#1c7e15',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e15;
$custom-light: #6ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e15",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 116,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.1626,
    "h": 142.1
  },
  "luminance": 0.15223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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