#2C8B1E#2C8B1E

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

Color values

HEX#2C8B1E
RGBrgb(44, 139, 30)
HSLhsl(112, 64%, 33%)
HSVhsv(112, 78%, 55%)
CMYKcmyk(68.3%, 0%, 78.4%, 45.5%)
CIE-LABlab(50.80, -47.96, 46.74)
CIE-LCHlch(50.80, 66.97, 135.74°)
OKLaboklab(56.01% -0.131 0.1048)
OKLCHoklch(56.01% 0.168 141.3)
XYZxyz(10.5051, 19.0934, 4.3598)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B1E #7D1E8B
analogous
#628B1E #2C8B1E #1E8B47
triadic
#2C8B1E #1E2C8B #8B1E2C
tetradic
#2C8B1E #1E628B #7D1E8B #8B471E
square
#2C8B1E #1E628B #7D1E8B #8B471E
split-complementary
#2C8B1E #471E8B #8B1E62
monochromatic
#0C2608 #1C5913 #2C8B1E #3CBD29 #5DD84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8B1E#FFFFFF#000000##000000
##2C8B1E1.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)
#8F7E04
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#198676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b1e;
/* rgb */ color: rgb(44, 139, 30);
/* oklch */ color: oklch(56.0% 0.168 141.3);
Tailwind
colors: {
  custom: {
    50: '#73ae62',
    500: '#2c8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b1e;
$custom-light: #73ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b1e",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 112.294,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.16774,
    "h": 141.3
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#2C8B1E
secondary
#AC4ABB
accent
#40E7D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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