#2C851A#2C851A

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

Color values

HEX#2C851A
RGBrgb(44, 133, 26)
HSLhsl(110, 67%, 31%)
HSVhsv(110, 80%, 52%)
CMYKcmyk(66.9%, 0%, 80.5%, 47.8%)
CIE-LABlab(48.74, -46.10, 46.11)
CIE-LCHlch(48.74, 65.21, 134.99°)
OKLaboklab(54.3% -0.1262 0.1029)
OKLCHoklch(54.3% 0.163 140.8)
XYZxyz(9.6122, 17.3841, 3.8260)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C851A #731A85
analogous
#61851A #2C851A #1A853D
triadic
#2C851A #1A2C85 #851A2C
tetradic
#2C851A #1A6185 #731A85 #853D1A
square
#2C851A #1A6185 #731A85 #853D1A
split-complementary
#2C851A #3D1A85 #851A61
monochromatic
#0A1F06 #1B5210 #2C851A #3DB824 #5ADA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C851A#FFFFFF#000000##FFFFFF
##2C851A1.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)
#897800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#1C8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c851a;
/* rgb */ color: rgb(44, 133, 26);
/* oklch */ color: oklch(54.3% 0.163 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a960',
    500: '#2c851a',
    950: '#000000',
  },
}
SCSS
$custom: #2c851a;
$custom-light: #72a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2c851a",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 109.907,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.1628,
    "h": 140.8
  },
  "luminance": 0.17385
}

Semantic roles & 50–950 ramp

primary
#2C851A
secondary
#A542B8
accent
#3EEACD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C851A

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

Preview Lab → · Contrast checker → · Palette generator →

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