#2C8B22#2C8B22

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

Color values

HEX#2C8B22
RGBrgb(44, 139, 34)
HSLhsl(114, 61%, 34%)
HSVhsv(114, 76%, 55%)
CMYKcmyk(68.3%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.82, -47.66, 45.32)
CIE-LCHlch(50.82, 65.77, 136.44°)
OKLaboklab(56.04% -0.1299 0.1024)
OKLCHoklch(56.04% 0.165 141.8)
XYZxyz(10.5595, 19.1151, 4.6462)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B22 #81228B
analogous
#618B22 #2C8B22 #228B4D
triadic
#2C8B22 #222C8B #8B222C
tetradic
#2C8B22 #22618B #81228B #8B4D22
square
#2C8B22 #22618B #81228B #8B4D22
split-complementary
#2C8B22 #4D228B #8B2261
monochromatic
#0D290A #1C5A16 #2C8B22 #3CBC2E #5FD553

Accessibility & contrast

On white

4.35
#2C8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8B22#FFFFFF#000000##000000
##2C8B221.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#188777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b22;
/* rgb */ color: rgb(44, 139, 34);
/* oklch */ color: oklch(56.0% 0.165 141.8);
Tailwind
colors: {
  custom: {
    50: '#73ae64',
    500: '#2c8b22',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b22;
$custom-light: #73ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b22",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 114.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.16544,
    "h": 141.8
  },
  "luminance": 0.19116
}

Semantic roles & 50–950 ramp

primary
#2C8B22
secondary
#AF50B8
accent
#44E4D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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