#1C7A2D#1C7A2D

#1C7A2D is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.142 H 145.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1C7A2D
RGBrgb(28, 122, 45)
HSLhsl(131, 63%, 29%)
HSVhsv(131, 77%, 48%)
CMYKcmyk(77%, 0%, 63.1%, 52.2%)
CIE-LABlab(44.74, -43.49, 33.89)
CIE-LCHlch(44.74, 55.13, 142.07°)
OKLaboklab(50.92% -0.1173 0.0797)
OKLCHoklch(50.92% 0.142 145.8)
XYZxyz(7.9115, 14.3545, 4.8359)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A2D #7A1C69
analogous
#3A7A1C #1C7A2D #1C7A5C
triadic
#1C7A2D #2D1C7A #7A2D1C
tetradic
#1C7A2D #1C3A7A #7A1C69 #7A5C1C
square
#1C7A2D #1C3A7A #7A1C69 #7A5C1C
split-complementary
#1C7A2D #5C1C7A #7A1C3A
monochromatic
#061909 #11481B #1C7A2D #27AC3F #3ED359

Accessibility & contrast

On white

5.42
#1C7A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1C7A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A2D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A2D#FFFFFF#000000##FFFFFF
##1C7A2D1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7a2d;
/* rgb */ color: rgb(28, 122, 45);
/* oklch */ color: oklch(50.9% 0.142 145.8);
Tailwind
colors: {
  custom: {
    50: '#68a169',
    500: '#1c7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a2d;
$custom-light: #68a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a2d",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 130.851,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.14177,
    "h": 145.8
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#1C7A2D
secondary
#AE449B
accent
#42C8E6
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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