#1C7F2B#1C7F2B

#1C7F2B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.150 H 145.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1C7F2B
RGBrgb(28, 127, 43)
HSLhsl(129, 64%, 30%)
HSVhsv(129, 78%, 50%)
CMYKcmyk(78%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.44, -45.53, 36.78)
CIE-LCHlch(46.44, 58.52, 141.07°)
OKLaboklab(52.33% -0.1229 0.0857)
OKLCHoklch(52.33% 0.15 145.1)
XYZxyz(8.5037, 15.5990, 4.8478)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F2B #7F1C70
analogous
#3E7F1C #1C7F2B #1C7F5C
triadic
#1C7F2B #2B1C7F #7F2B1C
tetradic
#1C7F2B #1C3E7F #7F1C70 #7F5C1C
square
#1C7F2B #1C3E7F #7F1C70 #7F5C1C
split-complementary
#1C7F2B #5C1C7F #7F1C3E
monochromatic
#061B09 #114D1A #1C7F2B #27B13C #40D557

Accessibility & contrast

On white

5.10
#1C7F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1C7F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7F2B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7F2B#FFFFFF#000000##FFFFFF
##1C7F2B1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c7f2b;
/* rgb */ color: rgb(28, 127, 43);
/* oklch */ color: oklch(52.3% 0.150 145.1);
Tailwind
colors: {
  custom: {
    50: '#6aa568',
    500: '#1c7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f2b;
$custom-light: #6aa568;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f2b",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 129.091,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.14978,
    "h": 145.1
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#1C7F2B
secondary
#B344A2
accent
#41CEE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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