#1C812E#1C812E

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

Color values

HEX#1C812E
RGBrgb(28, 129, 46)
HSLhsl(131, 64%, 31%)
HSVhsv(131, 78%, 51%)
CMYKcmyk(78.3%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.16, -45.87, 36.17)
CIE-LCHlch(47.16, 58.42, 141.74°)
OKLaboklab(52.93% -0.1237 0.0847)
OKLCHoklch(52.93% 0.15 145.6)
XYZxyz(8.8217, 16.1436, 5.2353)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C812E #811C6F
analogous
#3C811C #1C812E #1C8160
triadic
#1C812E #2E1C81 #812E1C
tetradic
#1C812E #1C3C81 #811C6F #81601C
square
#1C812E #1C3C81 #811C6F #81601C
split-complementary
#1C812E #601C81 #811C3C
monochromatic
#061C0A #114F1C #1C812E #27B340 #42D65C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C812E#FFFFFF#000000##FFFFFF
##1C812E1.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)
#837525
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c812e;
/* rgb */ color: rgb(28, 129, 46);
/* oklch */ color: oklch(52.9% 0.150 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa76a',
    500: '#1c812e',
    950: '#000000',
  },
}
SCSS
$custom: #1c812e;
$custom-light: #6aa76a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c812e",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 130.693,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52932,
    "c": 0.14989,
    "h": 145.6
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#1C812E
secondary
#B444A0
accent
#40CAE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #1C812E

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

Preview Lab → · Contrast checker → · Palette generator →

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