#1C851F#1C851F

#1C851F is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.9% C 0.165 H 143.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1C851F
RGBrgb(28, 133, 31)
HSLhsl(122, 65%, 32%)
HSVhsv(122, 79%, 52%)
CMYKcmyk(78.9%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.41, -48.78, 43.91)
CIE-LCHlch(48.41, 65.63, 138.01°)
OKLaboklab(53.93% -0.1323 0.0991)
OKLCHoklch(53.93% 0.165 143.2)
XYZxyz(9.1132, 17.1198, 4.1202)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C851F #851C82
analogous
#4E851C #1C851F #1C8554
triadic
#1C851F #1F1C85 #851F1C
tetradic
#1C851F #1C4E85 #851C82 #85541C
square
#1C851F #1C4E85 #851C82 #85541C
split-complementary
#1C851F #541C85 #851C4E
monochromatic
#072007 #115213 #1C851F #27B82B #44D848

Accessibility & contrast

On white

4.75
#1C851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1C851F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C851F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C851F#FFFFFF#000000##FFFFFF
##1C851F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1c851f;
/* rgb */ color: rgb(28, 133, 31);
/* oklch */ color: oklch(53.9% 0.165 143.2);
Tailwind
colors: {
  custom: {
    50: '#6caa62',
    500: '#1c851f',
    950: '#000000',
  },
}
SCSS
$custom: #1c851f;
$custom-light: #6caa62;
$custom-dark: #000000;
JSON
{
  "hex": "#1c851f",
  "rgb": {
    "r": 28,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 121.714,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.1653,
    "h": 143.2
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C851F

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

Preview Lab → · Contrast checker → · Palette generator →

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