#2C862A#2C862A

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

Color values

HEX#2C862A
RGBrgb(44, 134, 42)
HSLhsl(119, 52%, 35%)
HSVhsv(119, 69%, 53%)
CMYKcmyk(67.2%, 0%, 68.7%, 47.5%)
CIE-LABlab(49.19, -45.11, 40.35)
CIE-LCHlch(49.19, 60.53, 138.19°)
OKLaboklab(54.71% -0.1226 0.093)
OKLCHoklch(54.71% 0.154 142.8)
XYZxyz(9.9811, 17.7518, 5.0905)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C862A #842A86
analogous
#5A862A #2C862A #2A8656
triadic
#2C862A #2A2C86 #862A2C
tetradic
#2C862A #2A5A86 #842A86 #86562A
square
#2C862A #2A5A86 #842A86 #86562A
split-complementary
#2C862A #562A86 #862A5A
monochromatic
#0D290D #1D571B #2C862A #3BB539 #60CD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C862A#FFFFFF#000000##FFFFFF
##2C862A1.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)
#89791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#188273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c862a;
/* rgb */ color: rgb(44, 134, 42);
/* oklch */ color: oklch(54.7% 0.154 142.8);
Tailwind
colors: {
  custom: {
    50: '#72aa68',
    500: '#2c862a',
    950: '#000000',
  },
}
SCSS
$custom: #2c862a;
$custom-light: #72aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c862a",
  "rgb": {
    "r": 44,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 118.696,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.15392,
    "h": 142.8
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#2C862A
secondary
#B05AB2
accent
#4CDCD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C862A

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

Preview Lab → · Contrast checker → · Palette generator →

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