#2D5928#2D5928

#2D5928 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.091 H 141.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2D5928
RGBrgb(45, 89, 40)
HSLhsl(114, 38%, 25%)
HSVhsv(114, 55%, 35%)
CMYKcmyk(49.4%, 0%, 55.1%, 65.1%)
CIE-LABlab(33.68, -26.33, 23.57)
CIE-LCHlch(33.68, 35.33, 138.17°)
OKLaboklab(41.93% -0.0718 0.0567)
OKLCHoklch(41.93% 0.092 141.7)
XYZxyz(5.0373, 7.8555, 3.2579)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5928 #542859
analogous
#455928 #2D5928 #28593C
triadic
#2D5928 #282D59 #59282D
tetradic
#2D5928 #284559 #542859 #593C28
square
#2D5928 #284559 #542859 #593C28
split-complementary
#2D5928 #3C2859 #592845
monochromatic
#0B1509 #182F15 #2D5928 #42833B #58AD4E

Accessibility & contrast

On white

8.17
#2D5928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2D5928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5928
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5928#FFFFFF#000000##FFFFFF
##2D59281.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#554E2B
Tritanopia (blue-blind)
#28564E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5928;
/* rgb */ color: rgb(45, 89, 40);
/* oklch */ color: oklch(41.9% 0.091 141.7);
Tailwind
colors: {
  custom: {
    50: '#698863',
    500: '#2d5928',
    950: '#000000',
  },
}
SCSS
$custom: #2d5928;
$custom-light: #698863;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5928",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 40
  },
  "hsl": {
    "h": 113.878,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.0915,
    "h": 141.7
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#2D5928
secondary
#86518C
accent
#5ACEC2
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070B05
muted
#7A7C79

Preview Lab

Preview with #2D5928

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

Preview Lab → · Contrast checker → · Palette generator →

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