#2D7924#2D7924

#2D7924 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.141 H 141.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2D7924
RGBrgb(45, 121, 36)
HSLhsl(114, 54%, 31%)
HSVhsv(114, 70%, 47%)
CMYKcmyk(62.8%, 0%, 70.2%, 52.5%)
CIE-LABlab(44.74, -40.56, 38.21)
CIE-LCHlch(44.74, 55.72, 136.71°)
OKLaboklab(51.02% -0.1107 0.0878)
OKLCHoklch(51.02% 0.141 141.6)
XYZxyz(8.2376, 14.3592, 4.0062)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7924 #702479
analogous
#577924 #2D7924 #247945
triadic
#2D7924 #242D79 #79242D
tetradic
#2D7924 #245779 #702479 #794524
square
#2D7924 #245779 #702479 #794524
split-complementary
#2D7924 #452479 #792457
monochromatic
#0A1B08 #1B4A16 #2D7924 #3FA832 #5ACA4D

Accessibility & contrast

On white

5.42
#2D7924 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2D7924 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7924
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7924#FFFFFF#000000##FFFFFF
##2D79241.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E18
Deuteranopia (green-blind)
#73672C
Tritanopia (blue-blind)
#217568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7924;
/* rgb */ color: rgb(45, 121, 36);
/* oklch */ color: oklch(51.0% 0.141 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a063',
    500: '#2d7924',
    950: '#000000',
  },
}
SCSS
$custom: #2d7924;
$custom-light: #70a063;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7924",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 36
  },
  "hsl": {
    "h": 113.647,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.14125,
    "h": 141.6
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#2D7924
secondary
#A24DAC
accent
#4ADECE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2D7924

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

Preview Lab → · Contrast checker → · Palette generator →

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