#1C7D2B#1C7D2B

#1C7D2B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.147 H 145.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1C7D2B
RGBrgb(28, 125, 43)
HSLhsl(129, 63%, 30%)
HSVhsv(129, 78%, 49%)
CMYKcmyk(77.6%, 0%, 65.6%, 51%)
CIE-LABlab(45.75, -44.82, 36.00)
CIE-LCHlch(45.75, 57.49, 141.22°)
OKLaboklab(51.75% -0.1209 0.084)
OKLCHoklch(51.75% 0.147 145.2)
XYZxyz(8.2480, 15.0876, 4.7625)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D2B #7D1C6E
analogous
#3E7D1C #1C7D2B #1C7D5B
triadic
#1C7D2B #2B1C7D #7D2B1C
tetradic
#1C7D2B #1C3E7D #7D1C6E #7D5B1C
square
#1C7D2B #1C3E7D #7D1C6E #7D5B1C
split-complementary
#1C7D2B #5B1C7D #7D1C3E
monochromatic
#061909 #114B1A #1C7D2B #27AF3C #3FD456

Accessibility & contrast

On white

5.23
#1C7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1C7D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D2B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D2B#FFFFFF#000000##FFFFFF
##1C7D2B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7121
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d2b;
/* rgb */ color: rgb(28, 125, 43);
/* oklch */ color: oklch(51.8% 0.147 145.2);
Tailwind
colors: {
  custom: {
    50: '#69a468',
    500: '#1c7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d2b;
$custom-light: #69a468;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d2b",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 129.278,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.14726,
    "h": 145.2
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#1C7D2B
secondary
#B144A0
accent
#41CDE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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