#1C7E12#1C7E12

#1C7E12 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.164 H 141.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1C7E12
RGBrgb(28, 126, 18)
HSLhsl(114, 75%, 28%)
HSVhsv(114, 86%, 49%)
CMYKcmyk(77.8%, 0%, 85.7%, 50.6%)
CIE-LABlab(45.92, -47.34, 45.80)
CIE-LCHlch(45.92, 65.87, 135.95°)
OKLaboklab(51.84% -0.129 0.1012)
OKLCHoklch(51.84% 0.164 141.9)
XYZxyz(8.0485, 15.2113, 3.0841)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E12 #74127E
analogous
#527E12 #1C7E12 #127E3E
triadic
#1C7E12 #121C7E #7E121C
tetradic
#1C7E12 #12527E #74127E #7E3E12
square
#1C7E12 #12527E #74127E #7E3E12
split-complementary
#1C7E12 #3E127E #7E1252
monochromatic
#061B04 #10480A #1C7E12 #28B41A #3BE12A

Accessibility & contrast

On white

5.19
#1C7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1C7E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E12
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E12#FFFFFF#000000##FFFFFF
##1C7E121.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e12;
/* rgb */ color: rgb(28, 126, 18);
/* oklch */ color: oklch(51.8% 0.164 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ba45b',
    500: '#1c7e12',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e12;
$custom-light: #6ba45b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e12",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 114.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.16393,
    "h": 141.9
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#1C7E12
secondary
#A838B4
accent
#36F2E0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1C7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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