#1C7E2D#1C7E2D

#1C7E2D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.147 H 145.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1C7E2D
RGBrgb(28, 126, 45)
HSLhsl(130, 64%, 30%)
HSVhsv(130, 78%, 49%)
CMYKcmyk(77.8%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.12, -44.93, 35.47)
CIE-LCHlch(46.12, 57.24, 141.71°)
OKLaboklab(52.06% -0.1212 0.0831)
OKLCHoklch(52.06% 0.147 145.6)
XYZxyz(8.4128, 15.3571, 5.0029)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E2D #7E1C6D
analogous
#3C7E1C #1C7E2D #1C7E5E
triadic
#1C7E2D #2D1C7E #7E2D1C
tetradic
#1C7E2D #1C3C7E #7E1C6D #7E5E1C
square
#1C7E2D #1C3C7E #7E1C6D #7E5E1C
split-complementary
#1C7E2D #5E1C7E #7E1C3C
monochromatic
#061A09 #114C1B #1C7E2D #27B03F #40D55A

Accessibility & contrast

On white

5.16
#1C7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1C7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E2D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E2D#FFFFFF#000000##FFFFFF
##1C7E2D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e2d;
/* rgb */ color: rgb(28, 126, 45);
/* oklch */ color: oklch(52.1% 0.147 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa469',
    500: '#1c7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e2d;
$custom-light: #6aa469;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e2d",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 130.408,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.1469,
    "h": 145.6
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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