#1C842D#1C842D

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

Color values

HEX#1C842D
RGBrgb(28, 132, 45)
HSLhsl(130, 65%, 31%)
HSVhsv(130, 79%, 52%)
CMYKcmyk(78.8%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.18, -47.05, 37.79)
CIE-LCHlch(48.18, 60.34, 141.23°)
OKLaboklab(53.77% -0.1269 0.088)
OKLCHoklch(53.77% 0.154 145.3)
XYZxyz(9.2032, 16.9378, 5.2664)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C842D #841C73
analogous
#3F841C #1C842D #1C8461
triadic
#1C842D #2D1C84 #842D1C
tetradic
#1C842D #1C3F84 #841C73 #84611C
square
#1C842D #1C3F84 #841C73 #84611C
split-complementary
#1C842D #611C84 #841C3F
monochromatic
#071F0B #11521C #1C842D #27B63E #43D75B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C842D#FFFFFF#000000##FFFFFF
##1C842D1.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)
#867723
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c842d;
/* rgb */ color: rgb(28, 132, 45);
/* oklch */ color: oklch(53.8% 0.154 145.3);
Tailwind
colors: {
  custom: {
    50: '#6ba96a',
    500: '#1c842d',
    950: '#000000',
  },
}
SCSS
$custom: #1c842d;
$custom-light: #6ba96a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c842d",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 129.808,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.15444,
    "h": 145.3
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#1C842D
secondary
#B745A4
accent
#40CCE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1C842D

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

Preview Lab → · Contrast checker → · Palette generator →

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