#1C812D#1C812D

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

Color values

HEX#1C812D
RGBrgb(28, 129, 45)
HSLhsl(130, 64%, 31%)
HSVhsv(130, 78%, 51%)
CMYKcmyk(78.3%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.15, -45.99, 36.64)
CIE-LCHlch(47.15, 58.80, 141.46°)
OKLaboklab(52.92% -0.124 0.0856)
OKLCHoklch(52.92% 0.151 145.4)
XYZxyz(8.8022, 16.1358, 5.1327)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C812D #811C70
analogous
#3D811C #1C812D #1C815F
triadic
#1C812D #2D1C81 #812D1C
tetradic
#1C812D #1C3D81 #811C70 #815F1C
square
#1C812D #1C3D81 #811C70 #815F1C
split-complementary
#1C812D #5F1C81 #811C3D
monochromatic
#061C0A #114F1B #1C812D #27B33F #42D65A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C812D#FFFFFF#000000##FFFFFF
##1C812D1.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)
#837523
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c812d;
/* rgb */ color: rgb(28, 129, 45);
/* oklch */ color: oklch(52.9% 0.151 145.4);
Tailwind
colors: {
  custom: {
    50: '#6aa769',
    500: '#1c812d',
    950: '#000000',
  },
}
SCSS
$custom: #1c812d;
$custom-light: #6aa769;
$custom-dark: #000000;
JSON
{
  "hex": "#1c812d",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 130.099,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.15069,
    "h": 145.4
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#1C812D
secondary
#B444A2
accent
#40CBE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C812D

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

Preview Lab → · Contrast checker → · Palette generator →

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