#2C841B#2C841B

#2C841B is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.161 H 140.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C841B
RGBrgb(44, 132, 27)
HSLhsl(110, 66%, 31%)
HSVhsv(110, 80%, 52%)
CMYKcmyk(66.7%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.41, -45.67, 45.45)
CIE-LCHlch(48.41, 64.44, 135.14°)
OKLaboklab(54.02% -0.125 0.1017)
OKLCHoklch(54.02% 0.161 140.9)
XYZxyz(9.4873, 17.1162, 3.8405)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C841B #731B84
analogous
#60841B #2C841B #1B843E
triadic
#2C841B #1B2C84 #841B2C
tetradic
#2C841B #1B6084 #731B84 #843E1B
square
#2C841B #1B6084 #731B84 #843E1B
split-complementary
#2C841B #3E1B84 #841B60
monochromatic
#0A1E06 #1B5111 #2C841B #3DB725 #5AD841

Accessibility & contrast

On white

4.75
#2C841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2C841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C841B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C841B#FFFFFF#000000##FFFFFF
##2C841B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887701
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#1D8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c841b;
/* rgb */ color: rgb(44, 132, 27);
/* oklch */ color: oklch(54.0% 0.161 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a960',
    500: '#2c841b',
    950: '#000000',
  },
}
SCSS
$custom: #2c841b;
$custom-light: #72a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2c841b",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 110.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.1611,
    "h": 140.9
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#2C841B
secondary
#A543B7
accent
#3FE9CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C841B

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

Preview Lab → · Contrast checker → · Palette generator →

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