#1C842B#1C842B

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

Color values

HEX#1C842B
RGBrgb(28, 132, 43)
HSLhsl(129, 65%, 31%)
HSVhsv(129, 79%, 52%)
CMYKcmyk(78.8%, 0%, 67.4%, 48.2%)
CIE-LABlab(48.16, -47.28, 38.68)
CIE-LCHlch(48.16, 61.08, 140.71°)
OKLaboklab(53.75% -0.1276 0.0897)
OKLCHoklch(53.75% 0.156 144.9)
XYZxyz(9.1656, 16.9227, 5.0684)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C842B #841C75
analogous
#41841C #1C842B #1C845F
triadic
#1C842B #2B1C84 #842B1C
tetradic
#1C842B #1C4184 #841C75 #845F1C
square
#1C842B #1C4184 #841C75 #845F1C
split-complementary
#1C842B #5F1C84 #841C41
monochromatic
#071F0A #11521B #1C842B #27B63B #43D759

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C842B#FFFFFF#000000##FFFFFF
##1C842B1.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)
#867720
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c842b;
/* rgb */ color: rgb(28, 132, 43);
/* oklch */ color: oklch(53.8% 0.156 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ba969',
    500: '#1c842b',
    950: '#000000',
  },
}
SCSS
$custom: #1c842b;
$custom-light: #6ba969;
$custom-dark: #000000;
JSON
{
  "hex": "#1c842b",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 128.654,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.15598,
    "h": 144.9
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#1C842B
secondary
#B745A7
accent
#40D0E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1C842B

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

Preview Lab → · Contrast checker → · Palette generator →

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