#1C7512#1C7512

#1C7512 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.154 H 141.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1C7512
RGBrgb(28, 117, 18)
HSLhsl(114, 73%, 26%)
HSVhsv(114, 85%, 46%)
CMYKcmyk(76.1%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.78, -44.30, 42.90)
CIE-LCHlch(42.78, 61.66, 135.92°)
OKLaboklab(49.23% -0.1207 0.0952)
OKLCHoklch(49.23% 0.154 141.8)
XYZxyz(6.9490, 13.0123, 2.7176)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7512 #6B1275
analogous
#4E7512 #1C7512 #12753A
triadic
#1C7512 #121C75 #75121C
tetradic
#1C7512 #124E75 #6B1275 #753A12
square
#1C7512 #124E75 #6B1275 #753A12
split-complementary
#1C7512 #3A1275 #75124E
monochromatic
#061B04 #0F400A #1C7512 #29AA1A #37DD24

Accessibility & contrast

On white

5.83
#1C7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1C7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7512
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7512#FFFFFF#000000##FFFFFF
##1C75121.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1c7512;
/* rgb */ color: rgb(28, 117, 18);
/* oklch */ color: oklch(49.2% 0.154 141.8);
Tailwind
colors: {
  custom: {
    50: '#699e5a',
    500: '#1c7512',
    950: '#000000',
  },
}
SCSS
$custom: #1c7512;
$custom-light: #699e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7512",
  "rgb": {
    "r": 28,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 113.939,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.15373,
    "h": 141.8
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#1C7512
secondary
#A037AC
accent
#38F0DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7512

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

Preview Lab → · Contrast checker → · Palette generator →

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