#1C842A#1C842A

#1C842A is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.157 H 144.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1C842A
RGBrgb(28, 132, 42)
HSLhsl(128, 65%, 31%)
HSVhsv(128, 79%, 52%)
CMYKcmyk(78.8%, 0%, 68.2%, 48.2%)
CIE-LABlab(48.15, -47.39, 39.12)
CIE-LCHlch(48.15, 61.45, 140.46°)
OKLaboklab(53.74% -0.128 0.0905)
OKLCHoklch(53.74% 0.157 144.7)
XYZxyz(9.1474, 16.9155, 4.9730)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C842A #841C76
analogous
#42841C #1C842A #1C845E
triadic
#1C842A #2A1C84 #842A1C
tetradic
#1C842A #1C4284 #841C76 #845E1C
square
#1C842A #1C4284 #841C76 #845E1C
split-complementary
#1C842A #5E1C84 #841C42
monochromatic
#071F0A #11521A #1C842A #27B63A #43D757

Accessibility & contrast

On white

4.79
#1C842A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1C842A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C842A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C842A#FFFFFF#000000##FFFFFF
##1C842A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771E
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c842a;
/* rgb */ color: rgb(28, 132, 42);
/* oklch */ color: oklch(53.7% 0.157 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ba968',
    500: '#1c842a',
    950: '#000000',
  },
}
SCSS
$custom: #1c842a;
$custom-light: #6ba968;
$custom-dark: #000000;
JSON
{
  "hex": "#1c842a",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 128.077,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.15674,
    "h": 144.7
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#1C842A
secondary
#B745A8
accent
#40D1E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1C842A

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

Preview Lab → · Contrast checker → · Palette generator →

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