#1C831F#1C831F

#1C831F is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.163 H 143.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1C831F
RGBrgb(28, 131, 31)
HSLhsl(122, 65%, 31%)
HSVhsv(122, 79%, 51%)
CMYKcmyk(78.6%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.72, -48.11, 43.22)
CIE-LCHlch(47.72, 64.67, 138.07°)
OKLaboklab(53.36% -0.1305 0.0977)
OKLCHoklch(53.36% 0.163 143.2)
XYZxyz(8.8419, 16.5774, 4.0298)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C831F #831C80
analogous
#4C831C #1C831F #1C8352
triadic
#1C831F #1F1C83 #831F1C
tetradic
#1C831F #1C4C83 #831C80 #83521C
square
#1C831F #1C4C83 #831C80 #83521C
split-complementary
#1C831F #521C83 #831C4C
monochromatic
#061E07 #115113 #1C831F #27B52B #43D747

Accessibility & contrast

On white

4.87
#1C831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1C831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C831F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C831F#FFFFFF#000000##FFFFFF
##1C831F1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1c831f;
/* rgb */ color: rgb(28, 131, 31);
/* oklch */ color: oklch(53.4% 0.163 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ca862',
    500: '#1c831f',
    950: '#000000',
  },
}
SCSS
$custom: #1c831f;
$custom-light: #6ca862;
$custom-dark: #000000;
JSON
{
  "hex": "#1c831f",
  "rgb": {
    "r": 28,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 121.748,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.16298,
    "h": 143.2
  },
  "luminance": 0.16578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C831F

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

Preview Lab → · Contrast checker → · Palette generator →

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