#1C7F2D#1C7F2D

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

Color values

HEX#1C7F2D
RGBrgb(28, 127, 45)
HSLhsl(130, 64%, 30%)
HSVhsv(130, 78%, 50%)
CMYKcmyk(78%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.46, -45.28, 35.86)
CIE-LCHlch(46.46, 57.76, 141.63°)
OKLaboklab(52.35% -0.1221 0.0839)
OKLCHoklch(52.35% 0.148 145.5)
XYZxyz(8.5413, 15.6141, 5.0458)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F2D #7F1C6E
analogous
#3C7F1C #1C7F2D #1C7F5E
triadic
#1C7F2D #2D1C7F #7F2D1C
tetradic
#1C7F2D #1C3C7F #7F1C6E #7F5E1C
square
#1C7F2D #1C3C7F #7F1C6E #7F5E1C
split-complementary
#1C7F2D #5E1C7F #7F1C3C
monochromatic
#061B09 #114D1B #1C7F2D #27B13F #40D55A

Accessibility & contrast

On white

5.09
#1C7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C7F2D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7F2D#FFFFFF#000000##FFFFFF
##1C7F2D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c7f2d;
/* rgb */ color: rgb(28, 127, 45);
/* oklch */ color: oklch(52.3% 0.148 145.5);
Tailwind
colors: {
  custom: {
    50: '#6aa569',
    500: '#1c7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f2d;
$custom-light: #6aa569;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f2d",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 130.303,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.14817,
    "h": 145.5
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#1C7F2D
secondary
#B344A0
accent
#41CAE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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