#1C7213#1C7213

#1C7213 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.150 H 141.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#1C7213
RGBrgb(28, 114, 19)
HSLhsl(114, 71%, 26%)
HSVhsv(114, 83%, 45%)
CMYKcmyk(75.4%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.73, -43.20, 41.60)
CIE-LCHlch(41.73, 59.97, 136.08°)
OKLaboklab(48.36% -0.1177 0.0926)
OKLCHoklch(48.36% 0.15 141.8)
XYZxyz(6.6134, 12.3278, 2.6469)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7213 #691372
analogous
#4B7213 #1C7213 #137239
triadic
#1C7213 #131C72 #72131C
tetradic
#1C7213 #134B72 #691372 #723913
square
#1C7213 #134B72 #691372 #723913
split-complementary
#1C7213 #391372 #72134B
monochromatic
#061A04 #0F3E0A #1C7213 #29A61C #36DB25

Accessibility & contrast

On white

6.06
#1C7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1C7213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7213
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7213#FFFFFF#000000##FFFFFF
##1C72131.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#026E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1c7213;
/* rgb */ color: rgb(28, 114, 19);
/* oklch */ color: oklch(48.4% 0.150 141.8);
Tailwind
colors: {
  custom: {
    50: '#689b5a',
    500: '#1c7213',
    950: '#000000',
  },
}
SCSS
$custom: #1c7213;
$custom-light: #689b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7213",
  "rgb": {
    "r": 28,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 114.316,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.14976,
    "h": 141.8
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#1C7213
secondary
#9E38A9
accent
#3AEEDD
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7213

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

Preview Lab → · Contrast checker → · Palette generator →

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