#2D7C24#2D7C24

#2D7C24 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.145 H 141.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2D7C24
RGBrgb(45, 124, 36)
HSLhsl(114, 55%, 31%)
HSVhsv(114, 71%, 49%)
CMYKcmyk(63.7%, 0%, 71%, 51.4%)
CIE-LABlab(45.77, -41.72, 39.30)
CIE-LCHlch(45.77, 57.32, 136.70°)
OKLaboklab(51.87% -0.1138 0.0901)
OKLCHoklch(51.87% 0.145 141.6)
XYZxyz(8.6078, 15.0998, 4.1296)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C24 #73247C
analogous
#597C24 #2D7C24 #247C47
triadic
#2D7C24 #242D7C #7C242D
tetradic
#2D7C24 #24597C #73247C #7C4724
square
#2D7C24 #24597C #73247C #7C4724
split-complementary
#2D7C24 #47247C #7C2459
monochromatic
#0B1D08 #1C4D16 #2D7C24 #3EAB32 #5BCC4F

Accessibility & contrast

On white

5.22
#2D7C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2D7C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C24
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C24#FFFFFF#000000##FFFFFF
##2D7C241.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7017
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#20786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7c24;
/* rgb */ color: rgb(45, 124, 36);
/* oklch */ color: oklch(51.9% 0.145 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a364',
    500: '#2d7c24',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c24;
$custom-light: #70a364;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c24",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 113.864,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.14514,
    "h": 141.6
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#2D7C24
secondary
#A44DAE
accent
#49DECF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7C24

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

Preview Lab → · Contrast checker → · Palette generator →

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