#1C7E28#1C7E28

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

Color values

HEX#1C7E28
RGBrgb(28, 126, 40)
HSLhsl(127, 64%, 30%)
HSVhsv(127, 78%, 49%)
CMYKcmyk(77.8%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.07, -45.52, 37.74)
CIE-LCHlch(46.07, 59.13, 140.34°)
OKLaboklab(52.01% -0.123 0.0874)
OKLCHoklch(52.01% 0.151 144.6)
XYZxyz(8.3222, 15.3208, 4.5257)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E28 #7E1C72
analogous
#417E1C #1C7E28 #1C7E59
triadic
#1C7E28 #281C7E #7E281C
tetradic
#1C7E28 #1C417E #7E1C72 #7E591C
square
#1C7E28 #1C417E #7E1C72 #7E591C
split-complementary
#1C7E28 #591C7E #7E1C41
monochromatic
#061A08 #114C18 #1C7E28 #27B038 #40D552

Accessibility & contrast

On white

5.17
#1C7E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1C7E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E28
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E28#FFFFFF#000000##FFFFFF
##1C7E281.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e28;
/* rgb */ color: rgb(28, 126, 40);
/* oklch */ color: oklch(52.0% 0.151 144.6);
Tailwind
colors: {
  custom: {
    50: '#6aa466',
    500: '#1c7e28',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e28;
$custom-light: #6aa466;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e28",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 127.347,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.15084,
    "h": 144.6
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#1C7E28
secondary
#B244A4
accent
#41D2E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7E28

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

Preview Lab → · Contrast checker → · Palette generator →

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