#2D5D2F#2D5D2F

#2D5D2F is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.090 H 144.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2D5D2F
RGBrgb(45, 93, 47)
HSLhsl(123, 35%, 27%)
HSVhsv(123, 52%, 36%)
CMYKcmyk(51.6%, 0%, 49.5%, 63.5%)
CIE-LABlab(35.19, -27.12, 21.45)
CIE-LCHlch(35.19, 34.58, 141.66°)
OKLaboklab(43.2% -0.0737 0.0523)
OKLCHoklch(43.2% 0.09 144.6)
XYZxyz(5.5093, 8.5914, 4.0568)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D2F #5D2D5B
analogous
#435D2D #2D5D2F #2D5D47
triadic
#2D5D2F #2F2D5D #5D2F2D
tetradic
#2D5D2F #2D435D #5D2D5B #5D472D
square
#2D5D2F #2D435D #5D2D5B #5D472D
split-complementary
#2D5D2F #472D5D #5D2D43
monochromatic
#0A150A #19341A #2D5D2F #418644 #57AE5A

Accessibility & contrast

On white

7.73
#2D5D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D5D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5D2F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D2F#FFFFFF#000000##FFFFFF
##2D5D2F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F552B
Deuteranopia (green-blind)
#585132
Tritanopia (blue-blind)
#265B52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5d2f;
/* rgb */ color: rgb(45, 93, 47);
/* oklch */ color: oklch(43.2% 0.090 144.6);
Tailwind
colors: {
  custom: {
    50: '#6a8b68',
    500: '#2d5d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d2f;
$custom-light: #6a8b68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d2f",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 47
  },
  "hsl": {
    "h": 122.5,
    "s": 34.783,
    "l": 27.059
  },
  "oklch": {
    "l": 0.43198,
    "c": 0.09041,
    "h": 144.6
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#2D5D2F
secondary
#8F578D
accent
#5DC6CB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2D5D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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