#2D7A24#2D7A24

#2D7A24 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.143 H 141.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2D7A24
RGBrgb(45, 122, 36)
HSLhsl(114, 54%, 31%)
HSVhsv(114, 70%, 48%)
CMYKcmyk(63.1%, 0%, 70.5%, 52.2%)
CIE-LABlab(45.09, -40.94, 38.58)
CIE-LCHlch(45.09, 56.25, 136.71°)
OKLaboklab(51.3% -0.1117 0.0885)
OKLCHoklch(51.3% 0.143 141.6)
XYZxyz(8.3597, 14.6035, 4.0469)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A24 #71247A
analogous
#587A24 #2D7A24 #247A46
triadic
#2D7A24 #242D7A #7A242D
tetradic
#2D7A24 #24587A #71247A #7A4624
square
#2D7A24 #24587A #71247A #7A4624
split-complementary
#2D7A24 #46247A #7A2458
monochromatic
#0A1B08 #1C4B16 #2D7A24 #3EA932 #5BCB4E

Accessibility & contrast

On white

5.36
#2D7A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D7A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A24
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A24#FFFFFF#000000##FFFFFF
##2D7A241.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F18
Deuteranopia (green-blind)
#74682C
Tritanopia (blue-blind)
#217669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a24;
/* rgb */ color: rgb(45, 122, 36);
/* oklch */ color: oklch(51.3% 0.143 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a163',
    500: '#2d7a24',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a24;
$custom-light: #70a163;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a24",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 113.721,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.14255,
    "h": 141.6
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#2D7A24
secondary
#A34DAC
accent
#4ADECE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7A24

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

Preview Lab → · Contrast checker → · Palette generator →

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