#0D5826#0D5826

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

Color values

HEX#0D5826
RGBrgb(13, 88, 38)
HSLhsl(140, 74%, 20%)
HSVhsv(140, 85%, 35%)
CMYKcmyk(85.2%, 0%, 56.8%, 65.5%)
CIE-LABlab(32.27, -34.06, 22.73)
CIE-LCHlch(32.27, 40.95, 146.28°)
OKLaboklab(40.47% -0.0915 0.0548)
OKLCHoklch(40.47% 0.107 149.1)
XYZxyz(4.0052, 7.2045, 3.0129)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5826 #580D3F
analogous
#1A580D #0D5826 #0D584C
triadic
#0D5826 #260D58 #58260D
tetradic
#0D5826 #0D1A58 #580D3F #584C0D
square
#0D5826 #0D1A58 #580D3F #584C0D
split-complementary
#0D5826 #4C0D58 #580D1A
monochromatic
#041B0C #05230F #0D5826 #158D3D #1DC354

Accessibility & contrast

On white

8.60
#0D5826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D5826
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5826#FFFFFF#000000##FFFFFF
##0D58261.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F22
Deuteranopia (green-blind)
#504A2A
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0d5826;
/* rgb */ color: rgb(13, 88, 38);
/* oklch */ color: oklch(40.5% 0.107 149.1);
Tailwind
colors: {
  custom: {
    50: '#5b8861',
    500: '#0d5826',
    950: '#000000',
  },
}
SCSS
$custom: #0d5826;
$custom-light: #5b8861;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5826",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 38
  },
  "hsl": {
    "h": 140,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.10661,
    "h": 149.1
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#0D5826
secondary
#932E71
accent
#37B3F1
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5826

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

Preview Lab → · Contrast checker → · Palette generator →

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