#1C7D20#1C7D20

#1C7D20 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.155 H 143.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1C7D20
RGBrgb(28, 125, 32)
HSLhsl(122, 63%, 30%)
HSVhsv(122, 78%, 49%)
CMYKcmyk(77.6%, 0%, 74.4%, 51%)
CIE-LABlab(45.66, -45.98, 40.72)
CIE-LCHlch(45.66, 61.42, 138.47°)
OKLaboklab(51.64% -0.1246 0.0926)
OKLCHoklch(51.64% 0.155 143.4)
XYZxyz(8.0727, 15.0175, 3.8394)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D20 #7D1C79
analogous
#497D1C #1C7D20 #1C7D50
triadic
#1C7D20 #201C7D #7D201C
tetradic
#1C7D20 #1C497D #7D1C79 #7D501C
square
#1C7D20 #1C497D #7D1C79 #7D501C
split-complementary
#1C7D20 #501C7D #7D1C49
monochromatic
#061906 #114B13 #1C7D20 #27AF2D #3FD445

Accessibility & contrast

On white

5.25
#1C7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1C7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D20
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D20#FFFFFF#000000##FFFFFF
##1C7D201.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d20;
/* rgb */ color: rgb(28, 125, 32);
/* oklch */ color: oklch(51.6% 0.155 143.4);
Tailwind
colors: {
  custom: {
    50: '#6aa462',
    500: '#1c7d20',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d20;
$custom-light: #6aa462;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d20",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 122.474,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.15527,
    "h": 143.4
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#1C7D20
secondary
#B144AC
accent
#41E0E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1C7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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