#2C851C#2C851C

#2C851C is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.162 H 141.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2C851C
RGBrgb(44, 133, 28)
HSLhsl(111, 65%, 32%)
HSVhsv(111, 79%, 52%)
CMYKcmyk(66.9%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.75, -45.97, 45.45)
CIE-LCHlch(48.75, 64.64, 135.33°)
OKLaboklab(54.31% -0.1257 0.1018)
OKLCHoklch(54.31% 0.162 141)
XYZxyz(9.6353, 17.3934, 3.9479)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C851C #751C85
analogous
#61851C #2C851C #1C8541
triadic
#2C851C #1C2C85 #851C2C
tetradic
#2C851C #1C6185 #751C85 #85411C
square
#2C851C #1C6185 #751C85 #85411C
split-complementary
#2C851C #411C85 #851C61
monochromatic
#0B2007 #1B5211 #2C851C #3DB827 #5AD844

Accessibility & contrast

On white

4.69
#2C851C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2C851C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C851C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C851C#FFFFFF#000000##FFFFFF
##2C851C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#1C8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c851c;
/* rgb */ color: rgb(44, 133, 28);
/* oklch */ color: oklch(54.3% 0.162 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a961',
    500: '#2c851c',
    950: '#000000',
  },
}
SCSS
$custom: #2c851c;
$custom-light: #72a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2c851c",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 110.857,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.16175,
    "h": 141
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

primary
#2C851C
secondary
#A745B8
accent
#40E8CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C851C

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

Preview Lab → · Contrast checker → · Palette generator →

#2C851C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva