#2C862F#2C862F

#2C862F is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.150 H 143.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2C862F
RGBrgb(44, 134, 47)
HSLhsl(122, 51%, 35%)
HSVhsv(122, 67%, 53%)
CMYKcmyk(67.2%, 0%, 64.9%, 47.5%)
CIE-LABlab(49.24, -44.57, 38.14)
CIE-LCHlch(49.24, 58.66, 139.44°)
OKLaboklab(54.76% -0.1209 0.0889)
OKLCHoklch(54.76% 0.15 143.7)
XYZxyz(10.0763, 17.7899, 5.5915)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C862F #862C83
analogous
#56862C #2C862F #2C865C
triadic
#2C862F #2F2C86 #862F2C
tetradic
#2C862F #2C5686 #862C83 #865C2C
square
#2C862F #2C5686 #862C83 #865C2C
split-complementary
#2C862F #5C2C86 #862C56
monochromatic
#0E2A0F #1D581F #2C862F #3BB43F #61CB65

Accessibility & contrast

On white

4.61
#2C862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2C862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C862F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C862F#FFFFFF#000000##FFFFFF
##2C862F1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#168274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c862f;
/* rgb */ color: rgb(44, 134, 47);
/* oklch */ color: oklch(54.8% 0.150 143.7);
Tailwind
colors: {
  custom: {
    50: '#71aa6b',
    500: '#2c862f',
    950: '#000000',
  },
}
SCSS
$custom: #2c862f;
$custom-light: #71aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c862f",
  "rgb": {
    "r": 44,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 122,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.15006,
    "h": 143.7
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#2C862F
secondary
#B15CAF
accent
#4ED5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C862F

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

Preview Lab → · Contrast checker → · Palette generator →

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