#2C851E#2C851E

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

Color values

HEX#2C851E
RGBrgb(44, 133, 30)
HSLhsl(112, 63%, 32%)
HSVhsv(112, 77%, 52%)
CMYKcmyk(66.9%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.76, -45.82, 44.75)
CIE-LCHlch(48.76, 64.04, 135.68°)
OKLaboklab(54.32% -0.1252 0.1006)
OKLCHoklch(54.32% 0.161 141.2)
XYZxyz(9.6601, 17.4033, 4.0781)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C851E #771E85
analogous
#60851E #2C851E #1E8544
triadic
#2C851E #1E2C85 #851E2C
tetradic
#2C851E #1E6085 #771E85 #85441E
square
#2C851E #1E6085 #771E85 #85441E
split-complementary
#2C851E #441E85 #851E60
monochromatic
#0B2107 #1B5313 #2C851E #3DB729 #5BD648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C851E#FFFFFF#000000##FFFFFF
##2C851E1.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)
#887807
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#1C8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c851e;
/* rgb */ color: rgb(44, 133, 30);
/* oklch */ color: oklch(54.3% 0.161 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a962',
    500: '#2c851e',
    950: '#000000',
  },
}
SCSS
$custom: #2c851e;
$custom-light: #72a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2c851e",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 111.845,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.16062,
    "h": 141.2
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

primary
#2C851E
secondary
#A847B8
accent
#42E6D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C851E

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

Preview Lab → · Contrast checker → · Palette generator →

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