#2C8A22#2C8A22

#2C8A22 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.164 H 141.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C8A22
RGBrgb(44, 138, 34)
HSLhsl(114, 60%, 34%)
HSVhsv(114, 75%, 54%)
CMYKcmyk(68.1%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.48, -47.30, 44.98)
CIE-LCHlch(50.48, 65.27, 136.44°)
OKLaboklab(55.76% -0.129 0.1017)
OKLCHoklch(55.76% 0.164 141.7)
XYZxyz(10.4154, 18.8269, 4.5981)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A22 #80228A
analogous
#608A22 #2C8A22 #228A4C
triadic
#2C8A22 #222C8A #8A222C
tetradic
#2C8A22 #22608A #80228A #8A4C22
square
#2C8A22 #22608A #80228A #8A4C22
split-complementary
#2C8A22 #4C228A #8A2260
monochromatic
#0D280A #1C5916 #2C8A22 #3CBB2E #5FD452

Accessibility & contrast

On white

4.41
#2C8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2C8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A22
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A22#FFFFFF#000000##000000
##2C8A221.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#188676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a22;
/* rgb */ color: rgb(44, 138, 34);
/* oklch */ color: oklch(55.8% 0.164 141.7);
Tailwind
colors: {
  custom: {
    50: '#73ad64',
    500: '#2c8a22',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a22;
$custom-light: #73ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a22",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 114.231,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.16424,
    "h": 141.7
  },
  "luminance": 0.18828
}

Semantic roles & 50–950 ramp

primary
#2C8A22
secondary
#AE50B8
accent
#44E4D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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