#2C8534#2C8534

#2C8534 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.145 H 144.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2C8534
RGBrgb(44, 133, 52)
HSLhsl(125, 50%, 35%)
HSVhsv(125, 67%, 52%)
CMYKcmyk(66.9%, 0%, 60.9%, 47.8%)
CIE-LABlab(48.95, -43.58, 35.43)
CIE-LCHlch(48.95, 56.16, 140.89°)
OKLaboklab(54.54% -0.118 0.0836)
OKLCHoklch(54.54% 0.145 144.7)
XYZxyz(10.0454, 17.5574, 6.1077)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8534 #852C7D
analogous
#51852C #2C8534 #2C8560
triadic
#2C8534 #342C85 #85342C
tetradic
#2C8534 #2C5185 #852C7D #85602C
square
#2C8534 #2C5185 #852C7D #85602C
split-complementary
#2C8534 #602C85 #852C51
monochromatic
#0E2910 #1D5722 #2C8534 #3BB346 #61CB6A

Accessibility & contrast

On white

4.65
#2C8534 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2C8534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8534
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8534#FFFFFF#000000##FFFFFF
##2C85341.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792C
Deuteranopia (green-blind)
#7C713B
Tritanopia (blue-blind)
#158273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8534;
/* rgb */ color: rgb(44, 133, 52);
/* oklch */ color: oklch(54.5% 0.145 144.7);
Tailwind
colors: {
  custom: {
    50: '#71a96e',
    500: '#2c8534',
    950: '#000000',
  },
}
SCSS
$custom: #2c8534;
$custom-light: #71a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8534",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 52
  },
  "hsl": {
    "h": 125.393,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.14458,
    "h": 144.7
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#2C8534
secondary
#B15CA9
accent
#4ECDDA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2C8534

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

Preview Lab → · Contrast checker → · Palette generator →

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