#2D5F2D#2D5F2D

#2D5F2D is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.096 H 143.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2D5F2D
RGBrgb(45, 95, 45)
HSLhsl(120, 36%, 27%)
HSVhsv(120, 53%, 37%)
CMYKcmyk(52.6%, 0%, 52.6%, 62.7%)
CIE-LABlab(35.85, -28.39, 23.42)
CIE-LCHlch(35.85, 36.80, 140.47°)
OKLaboklab(43.73% -0.0772 0.0567)
OKLCHoklch(43.73% 0.096 143.7)
XYZxyz(5.6478, 8.9313, 3.9084)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F2D #5F2D5F
analogous
#465F2D #2D5F2D #2D5F46
triadic
#2D5F2D #2D2D5F #5F2D2D
tetradic
#2D5F2D #2D465F #5F2D5F #5F462D
square
#2D5F2D #2D465F #5F2D5F #5F462D
split-complementary
#2D5F2D #462D5F #5F2D46
monochromatic
#0A150A #193519 #2D5F2D #418941 #57AF57

Accessibility & contrast

On white

7.54
#2D5F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D5F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F2D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F2D#FFFFFF#000000##FFFFFF
##2D5F2D1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615729
Deuteranopia (green-blind)
#5A5330
Tritanopia (blue-blind)
#265D53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f2d;
/* rgb */ color: rgb(45, 95, 45);
/* oklch */ color: oklch(43.7% 0.096 143.7);
Tailwind
colors: {
  custom: {
    50: '#6a8d67',
    500: '#2d5f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f2d;
$custom-light: #6a8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f2d",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.43734,
    "c": 0.09578,
    "h": 143.7
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#2D5F2D
secondary
#915791
accent
#5CCCCC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2D5F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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