#1C7B2A#1C7B2A

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

Color values

HEX#1C7B2A
RGBrgb(28, 123, 42)
HSLhsl(129, 63%, 30%)
HSVhsv(129, 77%, 48%)
CMYKcmyk(77.2%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.05, -44.22, 35.69)
CIE-LCHlch(45.05, 56.83, 141.10°)
OKLaboklab(51.17% -0.1194 0.0832)
OKLCHoklch(51.17% 0.146 145.1)
XYZxyz(7.9792, 14.5790, 4.5836)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7B2A #7B1C6D
analogous
#3E7B1C #1C7B2A #1C7B5A
triadic
#1C7B2A #2A1C7B #7B2A1C
tetradic
#1C7B2A #1C3E7B #7B1C6D #7B5A1C
square
#1C7B2A #1C3E7B #7B1C6D #7B5A1C
split-complementary
#1C7B2A #5A1C7B #7B1C3E
monochromatic
#061909 #114919 #1C7B2A #27AD3B #3ED354

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7B2A#FFFFFF#000000##FFFFFF
##1C7B2A1.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)
#7D6F20
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c7b2a;
/* rgb */ color: rgb(28, 123, 42);
/* oklch */ color: oklch(51.2% 0.146 145.1);
Tailwind
colors: {
  custom: {
    50: '#69a267',
    500: '#1c7b2a',
    950: '#000000',
  },
}
SCSS
$custom: #1c7b2a;
$custom-light: #69a267;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7b2a",
  "rgb": {
    "r": 28,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 128.842,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.14552,
    "h": 145.1
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#1C7B2A
secondary
#AF449F
accent
#42CEE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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