#2C7526#2C7526

#2C7526 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.135 H 142.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2C7526
RGBrgb(44, 117, 38)
HSLhsl(115, 51%, 30%)
HSVhsv(115, 68%, 46%)
CMYKcmyk(62.4%, 0%, 67.5%, 54.1%)
CIE-LABlab(43.36, -39.03, 35.79)
CIE-LCHlch(43.36, 52.96, 137.48°)
OKLaboklab(49.87% -0.1064 0.0829)
OKLCHoklch(49.87% 0.135 142.1)
XYZxyz(7.7494, 13.3973, 4.0109)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7526 #6F2675
analogous
#537526 #2C7526 #267547
triadic
#2C7526 #262C75 #75262C
tetradic
#2C7526 #265375 #6F2675 #754726
square
#2C7526 #265375 #6F2675 #754726
split-complementary
#2C7526 #472675 #752653
monochromatic
#091908 #1B4717 #2C7526 #3DA335 #58C64F

Accessibility & contrast

On white

5.71
#2C7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2C7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7526
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7526#FFFFFF#000000##FFFFFF
##2C75261.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#207165
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7526;
/* rgb */ color: rgb(44, 117, 38);
/* oklch */ color: oklch(49.9% 0.135 142.1);
Tailwind
colors: {
  custom: {
    50: '#6e9d64',
    500: '#2c7526',
    950: '#000000',
  },
}
SCSS
$custom: #2c7526;
$custom-light: #6e9d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7526",
  "rgb": {
    "r": 44,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 115.443,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.13487,
    "h": 142.1
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#2C7526
secondary
#A14FA7
accent
#4DDAD0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2C7526

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

Preview Lab → · Contrast checker → · Palette generator →

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