#1C7E2A#1C7E2A

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

Color values

HEX#1C7E2A
RGBrgb(28, 126, 42)
HSLhsl(129, 64%, 30%)
HSVhsv(129, 78%, 49%)
CMYKcmyk(77.8%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.09, -45.29, 36.85)
CIE-LCHlch(46.09, 58.39, 140.87°)
OKLaboklab(52.03% -0.1223 0.0857)
OKLCHoklch(52.03% 0.149 145)
XYZxyz(8.3571, 15.3348, 4.7095)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E2A #7E1C70
analogous
#3F7E1C #1C7E2A #1C7E5B
triadic
#1C7E2A #2A1C7E #7E2A1C
tetradic
#1C7E2A #1C3F7E #7E1C70 #7E5B1C
square
#1C7E2A #1C3F7E #7E1C70 #7E5B1C
split-complementary
#1C7E2A #5B1C7E #7E1C3F
monochromatic
#061A09 #114C19 #1C7E2A #27B03B #40D555

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7E2A#FFFFFF#000000##FFFFFF
##1C7E2A1.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)
#807220
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e2a;
/* rgb */ color: rgb(28, 126, 42);
/* oklch */ color: oklch(52.0% 0.149 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aa467',
    500: '#1c7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e2a;
$custom-light: #6aa467;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e2a",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 128.571,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.14931,
    "h": 145
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#1C7E2A
secondary
#B244A2
accent
#41CFE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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