#1C842E#1C842E

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

Color values

HEX#1C842E
RGBrgb(28, 132, 46)
HSLhsl(130, 65%, 31%)
HSVhsv(130, 79%, 52%)
CMYKcmyk(78.8%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.19, -46.93, 37.33)
CIE-LCHlch(48.19, 59.97, 141.49°)
OKLaboklab(53.79% -0.1265 0.0872)
OKLCHoklch(53.79% 0.154 145.4)
XYZxyz(9.2226, 16.9456, 5.3690)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C842E #841C72
analogous
#3E841C #1C842E #1C8462
triadic
#1C842E #2E1C84 #842E1C
tetradic
#1C842E #1C3E84 #841C72 #84621C
square
#1C842E #1C3E84 #841C72 #84621C
split-complementary
#1C842E #621C84 #841C3E
monochromatic
#071F0B #11521C #1C842E #27B640 #43D75D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1c842e;
/* rgb */ color: rgb(28, 132, 46);
/* oklch */ color: oklch(53.8% 0.154 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ba96a',
    500: '#1c842e',
    950: '#000000',
  },
}
SCSS
$custom: #1c842e;
$custom-light: #6ba96a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c842e",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 130.385,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.15366,
    "h": 145.4
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#1C842E
secondary
#B745A3
accent
#40CBE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1C842E

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

Preview Lab → · Contrast checker → · Palette generator →

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