#1C7214#1C7214

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

Color values

HEX#1C7214
RGBrgb(28, 114, 20)
HSLhsl(115, 70%, 26%)
HSVhsv(115, 82%, 45%)
CMYKcmyk(75.4%, 0%, 82.5%, 55.3%)
CIE-LABlab(41.74, -43.13, 41.28)
CIE-LCHlch(41.74, 59.70, 136.26°)
OKLaboklab(48.36% -0.1175 0.0921)
OKLCHoklch(48.36% 0.149 141.9)
XYZxyz(6.6221, 12.3313, 2.6929)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7214 #6A1472
analogous
#4B7214 #1C7214 #14723B
triadic
#1C7214 #141C72 #72141C
tetradic
#1C7214 #144B72 #6A1472 #723B14
square
#1C7214 #144B72 #6A1472 #723B14
split-complementary
#1C7214 #3B1472 #72144B
monochromatic
#061A05 #0F3E0B #1C7214 #29A61D #36D927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7214#FFFFFF#000000##FFFFFF
##1C72141.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)
#016E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1c7214;
/* rgb */ color: rgb(28, 114, 20);
/* oklch */ color: oklch(48.4% 0.149 141.9);
Tailwind
colors: {
  custom: {
    50: '#689b5a',
    500: '#1c7214',
    950: '#000000',
  },
}
SCSS
$custom: #1c7214;
$custom-light: #689b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7214",
  "rgb": {
    "r": 28,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 114.894,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.14926,
    "h": 141.9
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#1C7214
secondary
#9F39A8
accent
#3BEDDE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1C7214

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

Preview Lab → · Contrast checker → · Palette generator →

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