#2D5818#2D5818

#2D5818 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.105 H 137.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2D5818
RGBrgb(45, 88, 24)
HSLhsl(100, 57%, 22%)
HSVhsv(100, 73%, 35%)
CMYKcmyk(48.9%, 0%, 72.7%, 65.5%)
CIE-LABlab(33.14, -27.82, 31.25)
CIE-LCHlch(33.14, 41.84, 131.68°)
OKLaboklab(41.43% -0.077 0.0715)
OKLCHoklch(41.43% 0.105 137.1)
XYZxyz(4.7366, 7.6030, 2.0819)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5818 #431858
analogous
#4D5818 #2D5818 #185823
triadic
#2D5818 #182D58 #58182D
tetradic
#2D5818 #184D58 #431858 #582318
square
#2D5818 #184D58 #431858 #582318
split-complementary
#2D5818 #231858 #58184D
monochromatic
#0C1807 #14280B #2D5818 #468825 #5EB832

Accessibility & contrast

On white

8.33
#2D5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5818
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5818#FFFFFF#000000##FFFFFF
##2D58181.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#2B554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d5818;
/* rgb */ color: rgb(45, 88, 24);
/* oklch */ color: oklch(41.4% 0.105 137.1);
Tailwind
colors: {
  custom: {
    50: '#6a8759',
    500: '#2d5818',
    950: '#000000',
  },
}
SCSS
$custom: #2d5818;
$custom-light: #6a8759;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5818",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 100.313,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.10509,
    "h": 137.1
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#2D5818
secondary
#743D8F
accent
#47E0AE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5818

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

Preview Lab → · Contrast checker → · Palette generator →

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