#1C841C#1C841C

#1C841C is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.166 H 142.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1C841C
RGBrgb(28, 132, 28)
HSLhsl(120, 65%, 31%)
HSVhsv(120, 79%, 52%)
CMYKcmyk(78.8%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.05, -48.69, 44.63)
CIE-LCHlch(48.05, 66.05, 137.49°)
OKLaboklab(53.62% -0.1321 0.1002)
OKLCHoklch(53.62% 0.166 142.8)
XYZxyz(8.9392, 16.8322, 3.8762)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C841C #841C84
analogous
#50841C #1C841C #1C8450
triadic
#1C841C #1C1C84 #841C1C
tetradic
#1C841C #1C5084 #841C84 #84501C
square
#1C841C #1C5084 #841C84 #84501C
split-complementary
#1C841C #501C84 #841C50
monochromatic
#071F07 #115211 #1C841C #27B627 #43D743

Accessibility & contrast

On white

4.81
#1C841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1C841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C841C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C841C#FFFFFF#000000##FFFFFF
##1C841C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c841c;
/* rgb */ color: rgb(28, 132, 28);
/* oklch */ color: oklch(53.6% 0.166 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca960',
    500: '#1c841c',
    950: '#000000',
  },
}
SCSS
$custom: #1c841c;
$custom-light: #6ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#1c841c",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 120,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.16586,
    "h": 142.8
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C841C

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

Preview Lab → · Contrast checker → · Palette generator →

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