#1C841F#1C841F

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

Color values

HEX#1C841F
RGBrgb(28, 132, 31)
HSLhsl(122, 65%, 31%)
HSVhsv(122, 79%, 52%)
CMYKcmyk(78.8%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.07, -48.45, 43.56)
CIE-LCHlch(48.07, 65.15, 138.04°)
OKLaboklab(53.64% -0.1314 0.0984)
OKLCHoklch(53.64% 0.164 143.2)
XYZxyz(8.9769, 16.8473, 4.0748)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C841F #841C81
analogous
#4D841C #1C841F #1C8453
triadic
#1C841F #1F1C84 #841F1C
tetradic
#1C841F #1C4D84 #841C81 #84531C
square
#1C841F #1C4D84 #841C81 #84531C
split-complementary
#1C841F #531C84 #841C4D
monochromatic
#071F07 #115213 #1C841F #27B62B #43D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C841F#FFFFFF#000000##FFFFFF
##1C841F1.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)
#87770B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1c841f;
/* rgb */ color: rgb(28, 132, 31);
/* oklch */ color: oklch(53.6% 0.164 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ca962',
    500: '#1c841f',
    950: '#000000',
  },
}
SCSS
$custom: #1c841f;
$custom-light: #6ca962;
$custom-dark: #000000;
JSON
{
  "hex": "#1c841f",
  "rgb": {
    "r": 28,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 121.731,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.16414,
    "h": 143.2
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#1C841F
secondary
#B745B4
accent
#40E3E8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1C841F

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

Preview Lab → · Contrast checker → · Palette generator →

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