#1C831B#1C831B

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

Color values

HEX#1C831B
RGBrgb(28, 131, 27)
HSLhsl(119, 66%, 31%)
HSVhsv(119, 79%, 51%)
CMYKcmyk(78.6%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.70, -48.43, 44.64)
CIE-LCHlch(47.70, 65.86, 137.33°)
OKLaboklab(53.33% -0.1315 0.1001)
OKLCHoklch(53.33% 0.165 142.7)
XYZxyz(8.7925, 16.5576, 3.7692)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C831B #821B83
analogous
#50831B #1C831B #1B834E
triadic
#1C831B #1B1C83 #831B1C
tetradic
#1C831B #1B5083 #821B83 #834E1B
square
#1C831B #1B5083 #821B83 #834E1B
split-complementary
#1C831B #4E1B83 #831B50
monochromatic
#061E06 #115011 #1C831B #27B625 #42D841

Accessibility & contrast

On white

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

On black

4.31
#1C831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C831B#FFFFFF#000000##FFFFFF
##1C831B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1c831b;
/* rgb */ color: rgb(28, 131, 27);
/* oklch */ color: oklch(53.3% 0.165 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca860',
    500: '#1c831b',
    950: '#000000',
  },
}
SCSS
$custom: #1c831b;
$custom-light: #6ca860;
$custom-dark: #000000;
JSON
{
  "hex": "#1c831b",
  "rgb": {
    "r": 28,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 119.423,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53327,
    "c": 0.16526,
    "h": 142.7
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C831B

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

Preview Lab → · Contrast checker → · Palette generator →

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