#2C8B1F#2C8B1F

#2C8B1F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.167 H 141.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2C8B1F
RGBrgb(44, 139, 31)
HSLhsl(113, 64%, 33%)
HSVhsv(113, 78%, 55%)
CMYKcmyk(68.3%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.80, -47.89, 46.40)
CIE-LCHlch(50.80, 66.68, 135.91°)
OKLaboklab(56.01% -0.1307 0.1042)
OKLCHoklch(56.01% 0.167 141.4)
XYZxyz(10.5181, 19.0986, 4.4281)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B1F #7E1F8B
analogous
#628B1F #2C8B1F #1F8B48
triadic
#2C8B1F #1F2C8B #8B1F2C
tetradic
#2C8B1F #1F628B #7E1F8B #8B481F
square
#2C8B1F #1F628B #7E1F8B #8B481F
split-complementary
#2C8B1F #481F8B #8B1F62
monochromatic
#0C2709 #1C5914 #2C8B1F #3CBD2A #5ED74D

Accessibility & contrast

On white

4.36
#2C8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2C8B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B1F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B1F#FFFFFF#000000##000000
##2C8B1F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#188776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b1f;
/* rgb */ color: rgb(44, 139, 31);
/* oklch */ color: oklch(56.0% 0.167 141.4);
Tailwind
colors: {
  custom: {
    50: '#73ae63',
    500: '#2c8b1f',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b1f;
$custom-light: #73ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b1f",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 112.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56013,
    "c": 0.16718,
    "h": 141.4
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#2C8B1F
secondary
#AD4CBA
accent
#41E7D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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