#1C812B#1C812B

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

Color values

HEX#1C812B
RGBrgb(28, 129, 43)
HSLhsl(129, 64%, 31%)
HSVhsv(129, 78%, 51%)
CMYKcmyk(78.3%, 0%, 66.7%, 49.4%)
CIE-LABlab(47.13, -46.23, 37.54)
CIE-LCHlch(47.13, 59.55, 140.92°)
OKLaboklab(52.9% -0.1248 0.0873)
OKLCHoklch(52.9% 0.152 145)
XYZxyz(8.7646, 16.1208, 4.9347)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C812B #811C72
analogous
#3F811C #1C812B #1C815D
triadic
#1C812B #2B1C81 #812B1C
tetradic
#1C812B #1C3F81 #811C72 #815D1C
square
#1C812B #1C3F81 #811C72 #815D1C
split-complementary
#1C812B #5D1C81 #811C3F
monochromatic
#061C09 #114F1A #1C812B #27B33C #42D658

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C812B#FFFFFF#000000##FFFFFF
##1C812B1.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)
#837520
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c812b;
/* rgb */ color: rgb(28, 129, 43);
/* oklch */ color: oklch(52.9% 0.152 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aa768',
    500: '#1c812b',
    950: '#000000',
  },
}
SCSS
$custom: #1c812b;
$custom-light: #6aa768;
$custom-dark: #000000;
JSON
{
  "hex": "#1c812b",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 43
  },
  "hsl": {
    "h": 128.911,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.15227,
    "h": 145
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#1C812B
secondary
#B444A4
accent
#40CFE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1C812B

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

Preview Lab → · Contrast checker → · Palette generator →

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