#1C842C#1C842C

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

Color values

HEX#1C842C
RGBrgb(28, 132, 44)
HSLhsl(129, 65%, 31%)
HSVhsv(129, 79%, 52%)
CMYKcmyk(78.8%, 0%, 66.7%, 48.2%)
CIE-LABlab(48.17, -47.16, 38.24)
CIE-LCHlch(48.17, 60.72, 140.97°)
OKLaboklab(53.76% -0.1273 0.0889)
OKLCHoklch(53.76% 0.155 145.1)
XYZxyz(9.1841, 16.9302, 5.1662)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C842C #841C74
analogous
#40841C #1C842C #1C8460
triadic
#1C842C #2C1C84 #842C1C
tetradic
#1C842C #1C4084 #841C74 #84601C
square
#1C842C #1C4084 #841C74 #84601C
split-complementary
#1C842C #601C84 #841C40
monochromatic
#071F0A #11521B #1C842C #27B63D #43D75A

Accessibility & contrast

On white

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

On black

4.39
#1C842C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C842C#FFFFFF#000000##FFFFFF
##1C842C1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867721
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c842c;
/* rgb */ color: rgb(28, 132, 44);
/* oklch */ color: oklch(53.8% 0.155 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ba969',
    500: '#1c842c',
    950: '#000000',
  },
}
SCSS
$custom: #1c842c;
$custom-light: #6ba969;
$custom-dark: #000000;
JSON
{
  "hex": "#1c842c",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 129.231,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.15522,
    "h": 145.1
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#1C842C
secondary
#B745A6
accent
#40CEE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1C842C

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

Preview Lab → · Contrast checker → · Palette generator →

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