#2D5718#2D5718

#2D5718 is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.1% C 0.104 H 137.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2D5718
RGBrgb(45, 87, 24)
HSLhsl(100, 57%, 22%)
HSVhsv(100, 72%, 34%)
CMYKcmyk(48.3%, 0%, 72.4%, 65.9%)
CIE-LABlab(32.79, -27.36, 30.87)
CIE-LCHlch(32.79, 41.25, 131.55°)
OKLaboklab(41.14% -0.0758 0.0707)
OKLCHoklch(41.14% 0.104 137)
XYZxyz(4.6551, 7.4399, 2.0547)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5718 #421857
analogous
#4D5718 #2D5718 #185723
triadic
#2D5718 #182D57 #57182D
tetradic
#2D5718 #184D57 #421857 #572318
square
#2D5718 #184D57 #421857 #572318
split-complementary
#2D5718 #231857 #57184D
monochromatic
#0C1807 #14270B #2D5718 #468725 #5FB732

Accessibility & contrast

On white

8.44
#2D5718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D5718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5718
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5718#FFFFFF#000000##FFFFFF
##2D57181.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0F
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#2B544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d5718;
/* rgb */ color: rgb(45, 87, 24);
/* oklch */ color: oklch(41.1% 0.104 137.0);
Tailwind
colors: {
  custom: {
    50: '#6a8758',
    500: '#2d5718',
    950: '#000000',
  },
}
SCSS
$custom: #2d5718;
$custom-light: #6a8758;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5718",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 100,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41141,
    "c": 0.10364,
    "h": 137
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#2D5718
secondary
#733D8E
accent
#48E0AD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5718

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

Preview Lab → · Contrast checker → · Palette generator →

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