#2C7D25#2C7D25

#2C7D25 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.146 H 142.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2C7D25
RGBrgb(44, 125, 37)
HSLhsl(115, 54%, 32%)
HSVhsv(115, 70%, 49%)
CMYKcmyk(64.8%, 0%, 70.4%, 51%)
CIE-LABlab(46.09, -42.24, 39.20)
CIE-LCHlch(46.09, 57.63, 137.14°)
OKLaboklab(52.13% -0.1151 0.09)
OKLCHoklch(52.13% 0.146 142)
XYZxyz(8.7058, 15.3354, 4.2512)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D25 #76257D
analogous
#587D25 #2C7D25 #257D4A
triadic
#2C7D25 #252C7D #7D252C
tetradic
#2C7D25 #25587D #76257D #7D4A25
square
#2C7D25 #25587D #76257D #7D4A25
split-complementary
#2C7D25 #4A257D #7D2558
monochromatic
#0B1F09 #1B4E17 #2C7D25 #3DAC33 #5BCB51

Accessibility & contrast

On white

5.16
#2C7D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2C7D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D25
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D25#FFFFFF#000000##FFFFFF
##2C7D251.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#1D796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d25;
/* rgb */ color: rgb(44, 125, 37);
/* oklch */ color: oklch(52.1% 0.146 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a364',
    500: '#2c7d25',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d25;
$custom-light: #70a364;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d25",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 115.227,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.14613,
    "h": 142
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#2C7D25
secondary
#A74FAF
accent
#4ADED2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7D25

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

Preview Lab → · Contrast checker → · Palette generator →

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