#1C841A#1C841A

#1C841A is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.167 H 142.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1C841A
RGBrgb(28, 132, 26)
HSLhsl(119, 67%, 31%)
HSVhsv(119, 80%, 52%)
CMYKcmyk(78.8%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.04, -48.83, 45.31)
CIE-LCHlch(48.04, 66.62, 137.14°)
OKLaboklab(53.61% -0.1326 0.1014)
OKLCHoklch(53.61% 0.167 142.6)
XYZxyz(8.9161, 16.8229, 3.7543)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C841A #821A84
analogous
#51841A #1C841A #1A844D
triadic
#1C841A #1A1C84 #841A1C
tetradic
#1C841A #1A5184 #821A84 #844D1A
square
#1C841A #1A5184 #821A84 #844D1A
split-complementary
#1C841A #4D1A84 #841A51
monochromatic
#061E06 #115110 #1C841A #27B724 #42D93F

Accessibility & contrast

On white

4.81
#1C841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1C841A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C841A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C841A#FFFFFF#000000##FFFFFF
##1C841A1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c841a;
/* rgb */ color: rgb(28, 132, 26);
/* oklch */ color: oklch(53.6% 0.167 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca960',
    500: '#1c841a',
    950: '#000000',
  },
}
SCSS
$custom: #1c841a;
$custom-light: #6ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#1c841a",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 118.868,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.16693,
    "h": 142.6
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#1C841A
secondary
#B542B8
accent
#3EEAE7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C841A

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

Preview Lab → · Contrast checker → · Palette generator →

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