#2C8520#2C8520

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

Color values

HEX#2C8520
RGBrgb(44, 133, 32)
HSLhsl(113, 61%, 32%)
HSVhsv(113, 76%, 52%)
CMYKcmyk(66.9%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.78, -45.66, 44.02)
CIE-LCHlch(48.78, 63.42, 136.05°)
OKLaboklab(54.34% -0.1247 0.0994)
OKLCHoklch(54.34% 0.159 141.4)
XYZxyz(9.6864, 17.4138, 4.2170)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8520 #792085
analogous
#5F8520 #2C8520 #208546
triadic
#2C8520 #202C85 #85202C
tetradic
#2C8520 #205F85 #792085 #854620
square
#2C8520 #205F85 #792085 #854620
split-complementary
#2C8520 #462085 #85205F
monochromatic
#0B2208 #1C5414 #2C8520 #3CB62C #5CD44C

Accessibility & contrast

On white

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

On black

4.48
#2C8520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C8520#FFFFFF#000000##FFFFFF
##2C85201.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#1B8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8520;
/* rgb */ color: rgb(44, 133, 32);
/* oklch */ color: oklch(54.3% 0.159 141.4);
Tailwind
colors: {
  custom: {
    50: '#72a963',
    500: '#2c8520',
    950: '#000000',
  },
}
SCSS
$custom: #2c8520;
$custom-light: #72a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8520",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 112.871,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54338,
    "c": 0.15943,
    "h": 141.4
  },
  "luminance": 0.17415
}

Semantic roles & 50–950 ramp

primary
#2C8520
secondary
#AA4AB7
accent
#43E4D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C8520

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

Preview Lab → · Contrast checker → · Palette generator →

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