#1C7E27#1C7E27

#1C7E27 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.152 H 144.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1C7E27
RGBrgb(28, 126, 39)
HSLhsl(127, 64%, 30%)
HSVhsv(127, 78%, 49%)
CMYKcmyk(77.8%, 0%, 69%, 50.6%)
CIE-LABlab(46.06, -45.63, 38.18)
CIE-LCHlch(46.06, 59.49, 140.08°)
OKLaboklab(52% -0.1233 0.0882)
OKLCHoklch(52% 0.152 144.4)
XYZxyz(8.3054, 15.3141, 4.4373)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E27 #7E1C73
analogous
#427E1C #1C7E27 #1C7E58
triadic
#1C7E27 #271C7E #7E271C
tetradic
#1C7E27 #1C427E #7E1C73 #7E581C
square
#1C7E27 #1C427E #7E1C73 #7E581C
split-complementary
#1C7E27 #581C7E #7E1C42
monochromatic
#061A08 #114C18 #1C7E27 #27B036 #40D551

Accessibility & contrast

On white

5.17
#1C7E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1C7E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E27
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E27#FFFFFF#000000##FFFFFF
##1C7E271.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721B
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e27;
/* rgb */ color: rgb(28, 126, 39);
/* oklch */ color: oklch(52.0% 0.152 144.4);
Tailwind
colors: {
  custom: {
    50: '#6aa466',
    500: '#1c7e27',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e27;
$custom-light: #6aa466;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e27",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 126.735,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.1516,
    "h": 144.4
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#1C7E27
secondary
#B244A5
accent
#41D4E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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