#1C7F12#1C7F12

#1C7F12 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.165 H 141.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1C7F12
RGBrgb(28, 127, 18)
HSLhsl(114, 75%, 28%)
HSVhsv(114, 86%, 50%)
CMYKcmyk(78%, 0%, 85.8%, 50.2%)
CIE-LABlab(46.27, -47.67, 46.11)
CIE-LCHlch(46.27, 66.33, 135.95°)
OKLaboklab(52.13% -0.1299 0.1019)
OKLCHoklch(52.13% 0.165 141.9)
XYZxyz(8.1770, 15.4683, 3.1269)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F12 #75127F
analogous
#527F12 #1C7F12 #127F3E
triadic
#1C7F12 #121C7F #7F121C
tetradic
#1C7F12 #12527F #75127F #7F3E12
square
#1C7F12 #12527F #75127F #7F3E12
split-complementary
#1C7F12 #3E127F #7F1252
monochromatic
#061B04 #10490A #1C7F12 #28B51A #3BE12B

Accessibility & contrast

On white

5.13
#1C7F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1C7F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7F12
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7F12#FFFFFF#000000##FFFFFF
##1C7F121.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c7f12;
/* rgb */ color: rgb(28, 127, 18);
/* oklch */ color: oklch(52.1% 0.165 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ba55b',
    500: '#1c7f12',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f12;
$custom-light: #6ba55b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f12",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 114.495,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.16505,
    "h": 141.9
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#1C7F12
secondary
#A938B5
accent
#36F2E1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1C7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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