#1C842F#1C842F

#1C842F is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.153 H 145.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1C842F
RGBrgb(28, 132, 47)
HSLhsl(131, 65%, 31%)
HSVhsv(131, 79%, 52%)
CMYKcmyk(78.8%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.20, -46.80, 36.88)
CIE-LCHlch(48.20, 59.59, 141.77°)
OKLaboklab(53.8% -0.1262 0.0863)
OKLCHoklch(53.8% 0.153 145.6)
XYZxyz(9.2426, 16.9536, 5.4740)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C842F #841C71
analogous
#3D841C #1C842F #1C8463
triadic
#1C842F #2F1C84 #842F1C
tetradic
#1C842F #1C3D84 #841C71 #84631C
square
#1C842F #1C3D84 #841C71 #84631C
split-complementary
#1C842F #631C84 #841C3D
monochromatic
#071F0B #11521D #1C842F #27B641 #43D75E

Accessibility & contrast

On white

4.78
#1C842F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C842F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C842F#FFFFFF#000000##FFFFFF
##1C842F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#7B6F36
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c842f;
/* rgb */ color: rgb(28, 132, 47);
/* oklch */ color: oklch(53.8% 0.153 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ba96b',
    500: '#1c842f',
    950: '#000000',
  },
}
SCSS
$custom: #1c842f;
$custom-light: #6ba96b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c842f",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 130.962,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.15285,
    "h": 145.6
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#1C842F
secondary
#B745A2
accent
#40C9E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1C842F

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

Preview Lab → · Contrast checker → · Palette generator →

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