#1C7F13#1C7F13

#1C7F13 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.165 H 142.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1C7F13
RGBrgb(28, 127, 19)
HSLhsl(115, 74%, 29%)
HSVhsv(115, 85%, 50%)
CMYKcmyk(78%, 0%, 85%, 50.2%)
CIE-LABlab(46.27, -47.62, 45.84)
CIE-LCHlch(46.27, 66.09, 136.09°)
OKLaboklab(52.13% -0.1297 0.1014)
OKLCHoklch(52.13% 0.165 142)
XYZxyz(8.1853, 15.4717, 3.1709)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F13 #76137F
analogous
#527F13 #1C7F13 #137F40
triadic
#1C7F13 #131C7F #7F131C
tetradic
#1C7F13 #13527F #76137F #7F4013
square
#1C7F13 #13527F #76137F #7F4013
split-complementary
#1C7F13 #40137F #7F1352
monochromatic
#061B04 #104A0B #1C7F13 #28B41B #3CE02D

Accessibility & contrast

On white

5.13
#1C7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1C7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7F13
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7F13#FFFFFF#000000##FFFFFF
##1C7F131.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c7f13;
/* rgb */ color: rgb(28, 127, 19);
/* oklch */ color: oklch(52.1% 0.165 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ba55c',
    500: '#1c7f13',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f13;
$custom-light: #6ba55c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f13",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 115,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.16463,
    "h": 142
  },
  "luminance": 0.15473
}

Semantic roles & 50–950 ramp

primary
#1C7F13
secondary
#AA39B4
accent
#37F1E1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1C7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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