#2D5F2B#2D5F2B

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

Color values

HEX#2D5F2B
RGBrgb(45, 95, 43)
HSLhsl(118, 38%, 27%)
HSVhsv(118, 55%, 37%)
CMYKcmyk(52.6%, 0%, 54.7%, 62.7%)
CIE-LABlab(35.82, -28.70, 24.51)
CIE-LCHlch(35.82, 37.74, 139.50°)
OKLaboklab(43.7% -0.0781 0.059)
OKLCHoklch(43.7% 0.098 143)
XYZxyz(5.6102, 8.9163, 3.7104)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F2B #5D2B5F
analogous
#475F2B #2D5F2B #2B5F43
triadic
#2D5F2B #2B2D5F #5F2B2D
tetradic
#2D5F2B #2B475F #5D2B5F #5F432B
square
#2D5F2B #2B475F #5D2B5F #5F432B
split-complementary
#2D5F2B #432B5F #5F2B47
monochromatic
#0A150A #193518 #2D5F2B #41893E #57B153

Accessibility & contrast

On white

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

On black

2.78
#2D5F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D5F2B#FFFFFF#000000##FFFFFF
##2D5F2B1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615726
Deuteranopia (green-blind)
#5A532F
Tritanopia (blue-blind)
#275C53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f2b;
/* rgb */ color: rgb(45, 95, 43);
/* oklch */ color: oklch(43.7% 0.098 143.0);
Tailwind
colors: {
  custom: {
    50: '#6a8d65',
    500: '#2d5f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f2b;
$custom-light: #6a8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f2b",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 117.692,
    "s": 37.681,
    "l": 27.059
  },
  "oklch": {
    "l": 0.43701,
    "c": 0.09788,
    "h": 143
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#2D5F2B
secondary
#8F5591
accent
#5ACEC9
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2D5F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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