#1C7B2E#1C7B2E

#1C7B2E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.142 H 146.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1C7B2E
RGBrgb(28, 123, 46)
HSLhsl(131, 63%, 30%)
HSVhsv(131, 77%, 48%)
CMYKcmyk(77.2%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.09, -43.72, 33.81)
CIE-LCHlch(45.09, 55.27, 142.28°)
OKLaboklab(51.22% -0.1178 0.0796)
OKLCHoklch(51.22% 0.142 146)
XYZxyz(8.0544, 14.6091, 4.9796)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B2E #7B1C69
analogous
#3A7B1C #1C7B2E #1C7B5D
triadic
#1C7B2E #2E1C7B #7B2E1C
tetradic
#1C7B2E #1C3A7B #7B1C69 #7B5D1C
square
#1C7B2E #1C3A7B #7B1C69 #7B5D1C
split-complementary
#1C7B2E #5D1C7B #7B1C3A
monochromatic
#061909 #11491B #1C7B2E #27AD41 #3ED35A

Accessibility & contrast

On white

5.35
#1C7B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1C7B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7B2E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7B2E#FFFFFF#000000##FFFFFF
##1C7B2E1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c7b2e;
/* rgb */ color: rgb(28, 123, 46);
/* oklch */ color: oklch(51.2% 0.142 146.0);
Tailwind
colors: {
  custom: {
    50: '#69a26a',
    500: '#1c7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b2e;
$custom-light: #69a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b2e",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 131.368,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.14221,
    "h": 146
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#1C7B2E
secondary
#AF449B
accent
#42C7E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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