#2D5F27#2D5F27

#2D5F27 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.102 H 141.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2D5F27
RGBrgb(45, 95, 39)
HSLhsl(114, 42%, 26%)
HSVhsv(114, 59%, 37%)
CMYKcmyk(52.6%, 0%, 58.9%, 62.7%)
CIE-LABlab(35.77, -29.27, 26.63)
CIE-LCHlch(35.77, 39.57, 137.70°)
OKLaboklab(43.64% -0.0799 0.0633)
OKLCHoklch(43.64% 0.102 141.6)
XYZxyz(5.5404, 8.8884, 3.3427)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F27 #59275F
analogous
#495F27 #2D5F27 #275F3D
triadic
#2D5F27 #272D5F #5F272D
tetradic
#2D5F27 #27495F #59275F #5F3D27
square
#2D5F27 #27495F #59275F #5F3D27
split-complementary
#2D5F27 #3D275F #5F2749
monochromatic
#0A1609 #183415 #2D5F27 #428A39 #57B54B

Accessibility & contrast

On white

7.56
#2D5F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5F27
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F27#FFFFFF#000000##FFFFFF
##2D5F271.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615722
Deuteranopia (green-blind)
#5B522B
Tritanopia (blue-blind)
#275C52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f27;
/* rgb */ color: rgb(45, 95, 39);
/* oklch */ color: oklch(43.6% 0.102 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b8d63',
    500: '#2d5f27',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f27;
$custom-light: #6b8d63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f27",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 39
  },
  "hsl": {
    "h": 113.571,
    "s": 41.791,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.10195,
    "h": 141.6
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#2D5F27
secondary
#8B5092
accent
#56D2C4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D5F27

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

Preview Lab → · Contrast checker → · Palette generator →

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