#1C7A2C#1C7A2C

#1C7A2C is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.143 H 145.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1C7A2C
RGBrgb(28, 122, 44)
HSLhsl(130, 63%, 29%)
HSVhsv(130, 77%, 48%)
CMYKcmyk(77%, 0%, 63.9%, 52.2%)
CIE-LABlab(44.73, -43.61, 34.37)
CIE-LCHlch(44.73, 55.53, 141.76°)
OKLaboklab(50.91% -0.1176 0.0806)
OKLCHoklch(50.91% 0.143 145.6)
XYZxyz(7.8925, 14.3469, 4.7357)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A2C #7A1C6A
analogous
#3B7A1C #1C7A2C #1C7A5B
triadic
#1C7A2C #2C1C7A #7A2C1C
tetradic
#1C7A2C #1C3B7A #7A1C6A #7A5B1C
square
#1C7A2C #1C3B7A #7A1C6A #7A5B1C
split-complementary
#1C7A2C #5B1C7A #7A1C3B
monochromatic
#061909 #11481A #1C7A2C #27AC3E #3ED357

Accessibility & contrast

On white

5.43
#1C7A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C7A2C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A2C#FFFFFF#000000##FFFFFF
##1C7A2C1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c7a2c;
/* rgb */ color: rgb(28, 122, 44);
/* oklch */ color: oklch(50.9% 0.143 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a168',
    500: '#1c7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a2c;
$custom-light: #69a168;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a2c",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 130.213,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.14261,
    "h": 145.6
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#1C7A2C
secondary
#AE449C
accent
#42CAE6
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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