#1C7E2B#1C7E2B

#1C7E2B is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.149 H 145.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1C7E2B
RGBrgb(28, 126, 43)
HSLhsl(129, 64%, 30%)
HSVhsv(129, 78%, 49%)
CMYKcmyk(77.8%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.10, -45.17, 36.39)
CIE-LCHlch(46.10, 58.01, 141.14°)
OKLaboklab(52.04% -0.1219 0.0848)
OKLCHoklch(52.04% 0.149 145.2)
XYZxyz(8.3752, 15.3420, 4.8049)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E2B #7E1C6F
analogous
#3E7E1C #1C7E2B #1C7E5C
triadic
#1C7E2B #2B1C7E #7E2B1C
tetradic
#1C7E2B #1C3E7E #7E1C6F #7E5C1C
square
#1C7E2B #1C3E7E #7E1C6F #7E5C1C
split-complementary
#1C7E2B #5C1C7E #7E1C3E
monochromatic
#061A09 #114C1A #1C7E2B #27B03C #40D557

Accessibility & contrast

On white

5.16
#1C7E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1C7E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E2B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E2B#FFFFFF#000000##FFFFFF
##1C7E2B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e2b;
/* rgb */ color: rgb(28, 126, 43);
/* oklch */ color: oklch(52.0% 0.149 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa468',
    500: '#1c7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e2b;
$custom-light: #6aa468;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e2b",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 129.184,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5204,
    "c": 0.14852,
    "h": 145.2
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#1C7E2B
secondary
#B244A1
accent
#41CDE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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