#2C862B#2C862B

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

Color values

HEX#2C862B
RGBrgb(44, 134, 43)
HSLhsl(119, 51%, 35%)
HSVhsv(119, 68%, 53%)
CMYKcmyk(67.2%, 0%, 67.9%, 47.5%)
CIE-LABlab(49.20, -45.01, 39.92)
CIE-LCHlch(49.20, 60.16, 138.43°)
OKLaboklab(54.72% -0.1223 0.0922)
OKLCHoklch(54.72% 0.153 143)
XYZxyz(9.9993, 17.7591, 5.1859)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C862B #852B86
analogous
#59862B #2C862B #2B8658
triadic
#2C862B #2B2C86 #862B2C
tetradic
#2C862B #2B5986 #852B86 #86582B
square
#2C862B #2B5986 #852B86 #86582B
split-complementary
#2C862B #582B86 #862B59
monochromatic
#0E290D #1D581C #2C862B #3BB43A #61CC60

Accessibility & contrast

On white

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

On black

4.55
#2C862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C862B#FFFFFF#000000##FFFFFF
##2C862B1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#188273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c862b;
/* rgb */ color: rgb(44, 134, 43);
/* oklch */ color: oklch(54.7% 0.153 143.0);
Tailwind
colors: {
  custom: {
    50: '#72aa69',
    500: '#2c862b',
    950: '#000000',
  },
}
SCSS
$custom: #2c862b;
$custom-light: #72aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c862b",
  "rgb": {
    "r": 44,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 119.341,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.15316,
    "h": 143
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#2C862B
secondary
#B15BB2
accent
#4DDBD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C862B

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

Preview Lab → · Contrast checker → · Palette generator →

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