#2D5F29#2D5F29

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

Color values

HEX#2D5F29
RGBrgb(45, 95, 41)
HSLhsl(116, 40%, 27%)
HSVhsv(116, 57%, 37%)
CMYKcmyk(52.6%, 0%, 56.8%, 62.7%)
CIE-LABlab(35.79, -28.99, 25.58)
CIE-LCHlch(35.79, 38.66, 138.58°)
OKLaboklab(43.67% -0.079 0.0612)
OKLCHoklch(43.67% 0.1 142.3)
XYZxyz(5.5744, 8.9020, 3.5219)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F29 #5B295F
analogous
#485F29 #2D5F29 #295F40
triadic
#2D5F29 #292D5F #5F292D
tetradic
#2D5F29 #29485F #5B295F #5F4029
square
#2D5F29 #29485F #5B295F #5F4029
split-complementary
#2D5F29 #40295F #5F2948
monochromatic
#0A1509 #193417 #2D5F29 #418A3B #57B34F

Accessibility & contrast

On white

7.55
#2D5F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5F29
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F29#FFFFFF#000000##FFFFFF
##2D5F291.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5f29;
/* rgb */ color: rgb(45, 95, 41);
/* oklch */ color: oklch(43.7% 0.100 142.3);
Tailwind
colors: {
  custom: {
    50: '#6a8d64',
    500: '#2d5f29',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f29;
$custom-light: #6a8d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f29",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 41
  },
  "hsl": {
    "h": 115.556,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.09994,
    "h": 142.3
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#2D5F29
secondary
#8D5292
accent
#58D0C7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #2D5F29

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

Preview Lab → · Contrast checker → · Palette generator →

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