#1C812C#1C812C

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

Color values

HEX#1C812C
RGBrgb(28, 129, 44)
HSLhsl(130, 64%, 31%)
HSVhsv(130, 78%, 51%)
CMYKcmyk(78.3%, 0%, 65.9%, 49.4%)
CIE-LABlab(47.14, -46.11, 37.09)
CIE-LCHlch(47.14, 59.18, 141.19°)
OKLaboklab(52.91% -0.1244 0.0864)
OKLCHoklch(52.91% 0.151 145.2)
XYZxyz(8.7832, 16.1282, 5.0325)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C812C #811C71
analogous
#3E811C #1C812C #1C815E
triadic
#1C812C #2C1C81 #812C1C
tetradic
#1C812C #1C3E81 #811C71 #815E1C
square
#1C812C #1C3E81 #811C71 #815E1C
split-complementary
#1C812C #5E1C81 #811C3E
monochromatic
#061C0A #114F1B #1C812C #27B33D #42D659

Accessibility & contrast

On white

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

On black

4.23
#1C812C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C812C#FFFFFF#000000##FFFFFF
##1C812C1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837522
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c812c;
/* rgb */ color: rgb(28, 129, 44);
/* oklch */ color: oklch(52.9% 0.151 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa769',
    500: '#1c812c',
    950: '#000000',
  },
}
SCSS
$custom: #1c812c;
$custom-light: #6aa769;
$custom-dark: #000000;
JSON
{
  "hex": "#1c812c",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 129.505,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.15149,
    "h": 145.2
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#1C812C
secondary
#B444A3
accent
#40CDE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C812C

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

Preview Lab → · Contrast checker → · Palette generator →

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