#0D5828#0D5828

#0D5828 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.105 H 149.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#0D5828
RGBrgb(13, 88, 40)
HSLhsl(142, 74%, 20%)
HSVhsv(142, 85%, 35%)
CMYKcmyk(85.2%, 0%, 54.5%, 65.5%)
CIE-LABlab(32.30, -33.71, 21.63)
CIE-LCHlch(32.30, 40.05, 147.31°)
OKLaboklab(40.51% -0.0905 0.0525)
OKLCHoklch(40.51% 0.105 149.9)
XYZxyz(4.0384, 7.2177, 3.1874)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5828 #580D3D
analogous
#18580D #0D5828 #0D584E
triadic
#0D5828 #280D58 #58280D
tetradic
#0D5828 #0D1858 #580D3D #584E0D
square
#0D5828 #0D1858 #580D3D #584E0D
split-complementary
#0D5828 #4E0D58 #580D18
monochromatic
#041B0C #052310 #0D5828 #158D40 #1DC358

Accessibility & contrast

On white

8.59
#0D5828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0D5828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5828
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5828#FFFFFF#000000##FFFFFF
##0D58281.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0d5828;
/* rgb */ color: rgb(13, 88, 40);
/* oklch */ color: oklch(40.5% 0.105 149.9);
Tailwind
colors: {
  custom: {
    50: '#5b8863',
    500: '#0d5828',
    950: '#000000',
  },
}
SCSS
$custom: #0d5828;
$custom-light: #5b8863;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5828",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 40
  },
  "hsl": {
    "h": 141.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.10461,
    "h": 149.9
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

primary
#0D5828
secondary
#932E6E
accent
#37AEF1
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5828

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

Preview Lab → · Contrast checker → · Palette generator →

#0D5828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva