#1C7B2B#1C7B2B

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

Color values

HEX#1C7B2B
RGBrgb(28, 123, 43)
HSLhsl(129, 63%, 30%)
HSVhsv(129, 77%, 48%)
CMYKcmyk(77.2%, 0%, 65%, 51.8%)
CIE-LABlab(45.06, -44.10, 35.23)
CIE-LCHlch(45.06, 56.44, 141.38°)
OKLaboklab(51.18% -0.119 0.0823)
OKLCHoklch(51.18% 0.145 145.3)
XYZxyz(7.9973, 14.5863, 4.6790)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B2B #7B1C6C
analogous
#3C7B1C #1C7B2B #1C7B5B
triadic
#1C7B2B #2B1C7B #7B2B1C
tetradic
#1C7B2B #1C3C7B #7B1C6C #7B5B1C
square
#1C7B2B #1C3C7B #7B1C6C #7B5B1C
split-complementary
#1C7B2B #5B1C7B #7B1C3C
monochromatic
#061909 #11491A #1C7B2B #27AD3C #3ED356

Accessibility & contrast

On white

5.36
#1C7B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C7B2B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7B2B#FFFFFF#000000##FFFFFF
##1C7B2B1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c7b2b;
/* rgb */ color: rgb(28, 123, 43);
/* oklch */ color: oklch(51.2% 0.145 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a268',
    500: '#1c7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b2b;
$custom-light: #69a268;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b2b",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 129.474,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.14471,
    "h": 145.3
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#1C7B2B
secondary
#AF449E
accent
#42CCE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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