#1C851B#1C851B

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

Color values

HEX#1C851B
RGBrgb(28, 133, 27)
HSLhsl(119, 66%, 31%)
HSVhsv(119, 80%, 52%)
CMYKcmyk(78.9%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.39, -49.09, 45.31)
CIE-LCHlch(48.39, 66.81, 137.29°)
OKLaboklab(53.9% -0.1333 0.1015)
OKLCHoklch(53.9% 0.168 142.7)
XYZxyz(9.0637, 17.1000, 3.8596)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C851B #841B85
analogous
#51851B #1C851B #1B854F
triadic
#1C851B #1B1C85 #851B1C
tetradic
#1C851B #1B5185 #841B85 #854F1B
square
#1C851B #1B5185 #841B85 #854F1B
split-complementary
#1C851B #4F1B85 #851B51
monochromatic
#071F06 #115211 #1C851B #27B825 #43D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C851B#FFFFFF#000000##FFFFFF
##1C851B1.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)
#887801
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1c851b;
/* rgb */ color: rgb(28, 133, 27);
/* oklch */ color: oklch(53.9% 0.168 142.7);
Tailwind
colors: {
  custom: {
    50: '#6caa60',
    500: '#1c851b',
    950: '#000000',
  },
}
SCSS
$custom: #1c851b;
$custom-light: #6caa60;
$custom-dark: #000000;
JSON
{
  "hex": "#1c851b",
  "rgb": {
    "r": 28,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 119.434,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.539,
    "c": 0.16754,
    "h": 142.7
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#1C851B
secondary
#B744B8
accent
#3FE9E8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1C851B

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

Preview Lab → · Contrast checker → · Palette generator →

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