#1C7D22#1C7D22

#1C7D22 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.154 H 143.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1C7D22
RGBrgb(28, 125, 34)
HSLhsl(124, 63%, 30%)
HSVhsv(124, 78%, 49%)
CMYKcmyk(77.6%, 0%, 72.8%, 51%)
CIE-LABlab(45.67, -45.80, 39.92)
CIE-LCHlch(45.67, 60.75, 138.92°)
OKLaboklab(51.66% -0.124 0.0912)
OKLCHoklch(51.66% 0.154 143.7)
XYZxyz(8.1007, 15.0287, 3.9870)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D22 #7D1C77
analogous
#477D1C #1C7D22 #1C7D52
triadic
#1C7D22 #221C7D #7D221C
tetradic
#1C7D22 #1C477D #7D1C77 #7D521C
square
#1C7D22 #1C477D #7D1C77 #7D521C
split-complementary
#1C7D22 #521C7D #7D1C47
monochromatic
#061907 #114B14 #1C7D22 #27AF30 #3FD449

Accessibility & contrast

On white

5.24
#1C7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1C7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D22
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D22#FFFFFF#000000##FFFFFF
##1C7D221.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c7d22;
/* rgb */ color: rgb(28, 125, 34);
/* oklch */ color: oklch(51.7% 0.154 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa463',
    500: '#1c7d22',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d22;
$custom-light: #6aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d22",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 123.711,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.15395,
    "h": 143.7
  },
  "luminance": 0.1503
}

Semantic roles & 50–950 ramp

primary
#1C7D22
secondary
#B144AA
accent
#41DCE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #1C7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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