#1C812F#1C812F

#1C812F is a mid, vivid green. Relative luminance 0.162; OKLCH L 52.9% C 0.149 H 145.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1C812F
RGBrgb(28, 129, 47)
HSLhsl(131, 64%, 31%)
HSVhsv(131, 78%, 51%)
CMYKcmyk(78.3%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.17, -45.74, 35.71)
CIE-LCHlch(47.17, 58.03, 142.02°)
OKLaboklab(52.94% -0.1233 0.0838)
OKLCHoklch(52.94% 0.149 145.8)
XYZxyz(8.8416, 16.1516, 5.3404)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C812F #811C6E
analogous
#3B811C #1C812F #1C8161
triadic
#1C812F #2F1C81 #812F1C
tetradic
#1C812F #1C3B81 #811C6E #81611C
square
#1C812F #1C3B81 #811C6E #81611C
split-complementary
#1C812F #611C81 #811C3B
monochromatic
#061C0A #114F1D #1C812F #27B341 #42D65D

Accessibility & contrast

On white

4.96
#1C812F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C812F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C812F#FFFFFF#000000##FFFFFF
##1C812F1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c812f;
/* rgb */ color: rgb(28, 129, 47);
/* oklch */ color: oklch(52.9% 0.149 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa76b',
    500: '#1c812f',
    950: '#000000',
  },
}
SCSS
$custom: #1c812f;
$custom-light: #6aa76b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c812f",
  "rgb": {
    "r": 28,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 131.287,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.14906,
    "h": 145.8
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#1C812F
secondary
#B4449F
accent
#40C8E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #1C812F

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

Preview Lab → · Contrast checker → · Palette generator →

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