#1C851C#1C851C

#1C851C is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.167 H 142.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1C851C
RGBrgb(28, 133, 28)
HSLhsl(120, 65%, 32%)
HSVhsv(120, 79%, 52%)
CMYKcmyk(78.9%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.39, -49.02, 44.97)
CIE-LCHlch(48.39, 66.52, 137.47°)
OKLaboklab(53.91% -0.133 0.1009)
OKLCHoklch(53.91% 0.167 142.8)
XYZxyz(9.0755, 17.1047, 3.9216)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C851C #851C85
analogous
#51851C #1C851C #1C8551
triadic
#1C851C #1C1C85 #851C1C
tetradic
#1C851C #1C5185 #851C85 #85511C
square
#1C851C #1C5185 #851C85 #85511C
split-complementary
#1C851C #511C85 #851C51
monochromatic
#072007 #115211 #1C851C #27B827 #44D844

Accessibility & contrast

On white

4.75
#1C851C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1C851C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C851C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C851C#FFFFFF#000000##FFFFFF
##1C851C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1c851c;
/* rgb */ color: rgb(28, 133, 28);
/* oklch */ color: oklch(53.9% 0.167 142.8);
Tailwind
colors: {
  custom: {
    50: '#6caa61',
    500: '#1c851c',
    950: '#000000',
  },
}
SCSS
$custom: #1c851c;
$custom-light: #6caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#1c851c",
  "rgb": {
    "r": 28,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 120,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.167,
    "h": 142.8
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#1C851C
secondary
#B845B8
accent
#40E8E8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C851C

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

Preview Lab → · Contrast checker → · Palette generator →

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