#2C8522#2C8522

#2C8522 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.158 H 141.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C8522
RGBrgb(44, 133, 34)
HSLhsl(114, 59%, 33%)
HSVhsv(114, 74%, 52%)
CMYKcmyk(66.9%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.79, -45.50, 43.26)
CIE-LCHlch(48.79, 62.78, 136.44°)
OKLaboklab(54.35% -0.1241 0.0981)
OKLCHoklch(54.35% 0.158 141.7)
XYZxyz(9.7144, 17.4250, 4.3645)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8522 #7B2285
analogous
#5E8522 #2C8522 #228549
triadic
#2C8522 #222C85 #85222C
tetradic
#2C8522 #225E85 #7B2285 #854922
square
#2C8522 #225E85 #7B2285 #854922
split-complementary
#2C8522 #492285 #85225E
monochromatic
#0C2409 #1C5416 #2C8522 #3CB62E #5DD24F

Accessibility & contrast

On white

4.68
#2C8522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2C8522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8522
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8522#FFFFFF#000000##FFFFFF
##2C85221.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#1B8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8522;
/* rgb */ color: rgb(44, 133, 34);
/* oklch */ color: oklch(54.4% 0.158 141.7);
Tailwind
colors: {
  custom: {
    50: '#72a964',
    500: '#2c8522',
    950: '#000000',
  },
}
SCSS
$custom: #2c8522;
$custom-light: #72a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8522",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 113.939,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.15819,
    "h": 141.7
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#2C8522
secondary
#AB4DB6
accent
#45E2D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8522

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

Preview Lab → · Contrast checker → · Palette generator →

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