#1C841B#1C841B

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

Color values

HEX#1C841B
RGBrgb(28, 132, 27)
HSLhsl(119, 66%, 31%)
HSVhsv(119, 80%, 52%)
CMYKcmyk(78.8%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.04, -48.76, 44.98)
CIE-LCHlch(48.04, 66.34, 137.31°)
OKLaboklab(53.61% -0.1324 0.1008)
OKLCHoklch(53.61% 0.166 142.7)
XYZxyz(8.9274, 16.8275, 3.8142)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C841B #831B84
analogous
#50841B #1C841B #1B844E
triadic
#1C841B #1B1C84 #841B1C
tetradic
#1C841B #1B5084 #831B84 #844E1B
square
#1C841B #1B5084 #831B84 #844E1B
split-complementary
#1C841B #4E1B84 #841B50
monochromatic
#061E06 #115111 #1C841B #27B725 #43D841

Accessibility & contrast

On white

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

On black

4.37
#1C841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C841B#FFFFFF#000000##FFFFFF
##1C841B1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c841b;
/* rgb */ color: rgb(28, 132, 27);
/* oklch */ color: oklch(53.6% 0.166 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca960',
    500: '#1c841b',
    950: '#000000',
  },
}
SCSS
$custom: #1c841b;
$custom-light: #6ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#1c841b",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 119.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.1664,
    "h": 142.7
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#1C841B
secondary
#B643B7
accent
#3FE9E7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C841B

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

Preview Lab → · Contrast checker → · Palette generator →

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