#1C812A#1C812A

#1C812A is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.153 H 144.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1C812A
RGBrgb(28, 129, 42)
HSLhsl(128, 64%, 31%)
HSVhsv(128, 78%, 51%)
CMYKcmyk(78.3%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.12, -46.35, 37.99)
CIE-LCHlch(47.12, 59.93, 140.66°)
OKLaboklab(52.89% -0.1251 0.0881)
OKLCHoklch(52.89% 0.153 144.9)
XYZxyz(8.7465, 16.1135, 4.8393)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C812A #811C73
analogous
#40811C #1C812A #1C815C
triadic
#1C812A #2A1C81 #812A1C
tetradic
#1C812A #1C4081 #811C73 #815C1C
square
#1C812A #1C4081 #811C73 #815C1C
split-complementary
#1C812A #5C1C81 #811C40
monochromatic
#061C09 #114F1A #1C812A #27B33A #42D656

Accessibility & contrast

On white

4.97
#1C812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1C812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C812A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C812A#FFFFFF#000000##FFFFFF
##1C812A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c812a;
/* rgb */ color: rgb(28, 129, 42);
/* oklch */ color: oklch(52.9% 0.153 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa768',
    500: '#1c812a',
    950: '#000000',
  },
}
SCSS
$custom: #1c812a;
$custom-light: #6aa768;
$custom-dark: #000000;
JSON
{
  "hex": "#1c812a",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 128.317,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.15305,
    "h": 144.9
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#1C812A
secondary
#B444A5
accent
#40D0E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C812A

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

Preview Lab → · Contrast checker → · Palette generator →

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