#2D7824#2D7824

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

Color values

HEX#2D7824
RGBrgb(45, 120, 36)
HSLhsl(114, 54%, 31%)
HSVhsv(114, 70%, 47%)
CMYKcmyk(62.5%, 0%, 70%, 52.9%)
CIE-LABlab(44.40, -40.17, 37.84)
CIE-LCHlch(44.40, 55.19, 136.71°)
OKLaboklab(50.74% -0.1096 0.087)
OKLCHoklch(50.74% 0.14 141.6)
XYZxyz(8.1167, 14.1175, 3.9659)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7824 #6F2478
analogous
#577824 #2D7824 #247845
triadic
#2D7824 #242D78 #78242D
tetradic
#2D7824 #245778 #6F2478 #784524
square
#2D7824 #245778 #6F2478 #784524
split-complementary
#2D7824 #452478 #782457
monochromatic
#0A1A08 #1B4916 #2D7824 #3FA732 #5ACA4D

Accessibility & contrast

On white

5.49
#2D7824 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2D7824 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7824
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7824#FFFFFF#000000##FFFFFF
##2D78241.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D18
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#217467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7824;
/* rgb */ color: rgb(45, 120, 36);
/* oklch */ color: oklch(50.7% 0.140 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa063',
    500: '#2d7824',
    950: '#000000',
  },
}
SCSS
$custom: #2d7824;
$custom-light: #6fa063;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7824",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 36
  },
  "hsl": {
    "h": 113.571,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.13994,
    "h": 141.6
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#2D7824
secondary
#A14DAB
accent
#4BDDCE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2D7824

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

Preview Lab → · Contrast checker → · Palette generator →

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