#2C8528#2C8528

#2C8528 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.154 H 142.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2C8528
RGBrgb(44, 133, 40)
HSLhsl(117, 54%, 34%)
HSVhsv(117, 70%, 52%)
CMYKcmyk(66.9%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.84, -44.95, 40.84)
CIE-LCHlch(48.84, 60.73, 137.74°)
OKLaboklab(54.41% -0.1223 0.0938)
OKLCHoklch(54.41% 0.154 142.5)
XYZxyz(9.8087, 17.4627, 4.8608)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8528 #812885
analogous
#5B8528 #2C8528 #288553
triadic
#2C8528 #282C85 #85282C
tetradic
#2C8528 #285B85 #812885 #855328
square
#2C8528 #285B85 #812885 #855328
split-complementary
#2C8528 #532885 #85285B
monochromatic
#0D270C #1C561A #2C8528 #3CB436 #5FCD5A

Accessibility & contrast

On white

4.67
#2C8528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C8528
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8528#FFFFFF#000000##FFFFFF
##2C85281.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#198172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8528;
/* rgb */ color: rgb(44, 133, 40);
/* oklch */ color: oklch(54.4% 0.154 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a967',
    500: '#2c8528',
    950: '#000000',
  },
}
SCSS
$custom: #2c8528;
$custom-light: #72a967;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8528",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 117.419,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54407,
    "c": 0.15411,
    "h": 142.5
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#2C8528
secondary
#AF56B3
accent
#4BDDD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8528

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

Preview Lab → · Contrast checker → · Palette generator →

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