#1C7B2F#1C7B2F

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

Color values

HEX#1C7B2F
RGBrgb(28, 123, 47)
HSLhsl(132, 63%, 30%)
HSVhsv(132, 77%, 48%)
CMYKcmyk(77.2%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.11, -43.58, 33.33)
CIE-LCHlch(45.11, 54.87, 142.59°)
OKLaboklab(51.23% -0.1174 0.0787)
OKLCHoklch(51.23% 0.141 146.2)
XYZxyz(8.0744, 14.6171, 5.0846)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B2F #7B1C68
analogous
#397B1C #1C7B2F #1C7B5F
triadic
#1C7B2F #2F1C7B #7B2F1C
tetradic
#1C7B2F #1C397B #7B1C68 #7B5F1C
square
#1C7B2F #1C397B #7B1C68 #7B5F1C
split-complementary
#1C7B2F #5F1C7B #7B1C39
monochromatic
#06190A #11491C #1C7B2F #27AD42 #3ED35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7B2F#FFFFFF#000000##FFFFFF
##1C7B2F1.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)
#7D6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c7b2f;
/* rgb */ color: rgb(28, 123, 47);
/* oklch */ color: oklch(51.2% 0.141 146.2);
Tailwind
colors: {
  custom: {
    50: '#69a26a',
    500: '#1c7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b2f;
$custom-light: #69a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b2f",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 132,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.14136,
    "h": 146.2
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#1C7B2F
secondary
#AF4499
accent
#42C5E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1C7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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