#2D7925#2D7925

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

Color values

HEX#2D7925
RGBrgb(45, 121, 37)
HSLhsl(114, 53%, 31%)
HSVhsv(114, 69%, 47%)
CMYKcmyk(62.8%, 0%, 69.4%, 52.5%)
CIE-LABlab(44.75, -40.45, 37.78)
CIE-LCHlch(44.75, 55.35, 136.96°)
OKLaboklab(51.03% -0.1103 0.087)
OKLCHoklch(51.03% 0.141 141.8)
XYZxyz(8.2531, 14.3654, 4.0878)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7925 #712579
analogous
#577925 #2D7925 #257947
triadic
#2D7925 #252D79 #79252D
tetradic
#2D7925 #255779 #712579 #794725
square
#2D7925 #255779 #712579 #794725
split-complementary
#2D7925 #472579 #792557
monochromatic
#0A1B08 #1C4A17 #2D7925 #3EA833 #5BC94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7925#FFFFFF#000000##FFFFFF
##2D79251.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)
#7C6E1A
Deuteranopia (green-blind)
#73672D
Tritanopia (blue-blind)
#217568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7925;
/* rgb */ color: rgb(45, 121, 37);
/* oklch */ color: oklch(51.0% 0.141 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a064',
    500: '#2d7925',
    950: '#000000',
  },
}
SCSS
$custom: #2d7925;
$custom-light: #70a064;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7925",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 114.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.14051,
    "h": 141.8
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#2D7925
secondary
#A34EAB
accent
#4BDDCF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D7925

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

Preview Lab → · Contrast checker → · Palette generator →

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