#1C7A42#1C7A42

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

Color values

HEX#1C7A42
RGBrgb(28, 122, 66)
HSLhsl(144, 63%, 29%)
HSVhsv(144, 77%, 48%)
CMYKcmyk(77%, 0%, 45.9%, 52.2%)
CIE-LABlab(45.02, -40.13, 23.16)
CIE-LCHlch(45.02, 46.33, 150.01°)
OKLaboklab(51.25% -0.108 0.0571)
OKLCHoklch(51.25% 0.122 152.1)
XYZxyz(8.4211, 14.5583, 7.5194)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A42 #7A1C54
analogous
#257A1C #1C7A42 #1C7A71
triadic
#1C7A42 #421C7A #7A421C
tetradic
#1C7A42 #1C257A #7A1C54 #7A711C
square
#1C7A42 #1C257A #7A1C54 #7A711C
split-complementary
#1C7A42 #711C7A #7A1C25
monochromatic
#06190D #114827 #1C7A42 #27AC5D #3ED37A

Accessibility & contrast

On white

5.37
#1C7A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1C7A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A42
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A42#FFFFFF#000000##FFFFFF
##1C7A421.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3E
Deuteranopia (green-blind)
#6F6746
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c7a42;
/* rgb */ color: rgb(28, 122, 66);
/* oklch */ color: oklch(51.2% 0.122 152.1);
Tailwind
colors: {
  custom: {
    50: '#68a177',
    500: '#1c7a42',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a42;
$custom-light: #68a177;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a42",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 144.255,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.12213,
    "h": 152.1
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#1C7A42
secondary
#AE4483
accent
#42A4E6
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1C7A42

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

Preview Lab → · Contrast checker → · Palette generator →

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