#1C7E22#1C7E22

#1C7E22 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.155 H 143.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1C7E22
RGBrgb(28, 126, 34)
HSLhsl(124, 64%, 30%)
HSVhsv(124, 78%, 49%)
CMYKcmyk(77.8%, 0%, 73%, 50.6%)
CIE-LABlab(46.02, -46.14, 40.28)
CIE-LCHlch(46.02, 61.25, 138.88°)
OKLaboklab(51.95% -0.125 0.092)
OKLCHoklch(51.95% 0.155 143.6)
XYZxyz(8.2279, 15.2831, 4.0294)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E22 #7E1C78
analogous
#477E1C #1C7E22 #1C7E53
triadic
#1C7E22 #221C7E #7E221C
tetradic
#1C7E22 #1C477E #7E1C78 #7E531C
square
#1C7E22 #1C477E #7E1C78 #7E531C
split-complementary
#1C7E22 #531C7E #7E1C47
monochromatic
#061A07 #114C14 #1C7E22 #27B030 #40D549

Accessibility & contrast

On white

5.18
#1C7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C7E22
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E22#FFFFFF#000000##FFFFFF
##1C7E221.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e22;
/* rgb */ color: rgb(28, 126, 34);
/* oklch */ color: oklch(51.9% 0.155 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa463',
    500: '#1c7e22',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e22;
$custom-light: #6aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e22",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 123.673,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.15516,
    "h": 143.6
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#1C7E22
secondary
#B244AB
accent
#41DDE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #1C7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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