#2C813F#2C813F

#2C813F is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.129 H 147.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2C813F
RGBrgb(44, 129, 63)
HSLhsl(133, 49%, 34%)
HSVhsv(133, 66%, 51%)
CMYKcmyk(65.9%, 0%, 51.2%, 49.4%)
CIE-LABlab(47.74, -40.42, 28.33)
CIE-LCHlch(47.74, 49.35, 144.97°)
OKLaboklab(53.59% -0.1091 0.0687)
OKLCHoklch(53.59% 0.129 147.8)
XYZxyz(9.7855, 16.5939, 7.3889)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C813F #812C6E
analogous
#44812C #2C813F #2C816A
triadic
#2C813F #3F2C81 #813F2C
tetradic
#2C813F #2C4481 #812C6E #816A2C
square
#2C813F #2C4481 #812C6E #816A2C
split-complementary
#2C813F #6A2C81 #812C44
monochromatic
#0D2612 #1C5329 #2C813F #3CAF55 #5FC877

Accessibility & contrast

On white

4.86
#2C813F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2C813F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C813F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C813F#FFFFFF#000000##FFFFFF
##2C813F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763A
Deuteranopia (green-blind)
#786E44
Tritanopia (blue-blind)
#127E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c813f;
/* rgb */ color: rgb(44, 129, 63);
/* oklch */ color: oklch(53.6% 0.129 147.8);
Tailwind
colors: {
  custom: {
    50: '#70a675',
    500: '#2c813f',
    950: '#000000',
  },
}
SCSS
$custom: #2c813f;
$custom-light: #70a675;
$custom-dark: #000000;
JSON
{
  "hex": "#2c813f",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 63
  },
  "hsl": {
    "h": 133.412,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.12893,
    "h": 147.8
  },
  "luminance": 0.16595
}

Semantic roles & 50–950 ramp

primary
#2C813F
secondary
#AF5A9C
accent
#4FBAD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2C813F

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

Preview Lab → · Contrast checker → · Palette generator →

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