#0D5225#0D5225

#0D5225 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.6% C 0.099 H 149.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#0D5225
RGBrgb(13, 82, 37)
HSLhsl(141, 73%, 19%)
HSVhsv(141, 84%, 32%)
CMYKcmyk(84.1%, 0%, 54.9%, 67.8%)
CIE-LABlab(30.04, -31.85, 20.55)
CIE-LCHlch(30.04, 37.90, 147.17°)
OKLaboklab(38.62% -0.0855 0.0498)
OKLCHoklch(38.62% 0.099 149.8)
XYZxyz(3.5169, 6.2533, 2.7716)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5225 #520D3A
analogous
#17520D #0D5225 #0D5247
triadic
#0D5225 #250D52 #52250D
tetradic
#0D5225 #0D1752 #520D3A #52470D
square
#0D5225 #0D1752 #520D3A #52470D
split-complementary
#0D5225 #470D52 #520D17
monochromatic
#041A0C #051D0D #0D5225 #15873D #1EBC55

Accessibility & contrast

On white

9.33
#0D5225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0D5225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5225
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5225#FFFFFF#000000##FFFFFF
##0D52251.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A21
Deuteranopia (green-blind)
#4B4528
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d5225;
/* rgb */ color: rgb(13, 82, 37);
/* oklch */ color: oklch(38.6% 0.099 149.8);
Tailwind
colors: {
  custom: {
    50: '#598360',
    500: '#0d5225',
    950: '#000000',
  },
}
SCSS
$custom: #0d5225;
$custom-light: #598360;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5225",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 37
  },
  "hsl": {
    "h": 140.87,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38623,
    "c": 0.09901,
    "h": 149.8
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#0D5225
secondary
#8D2E6C
accent
#38B0EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5225

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

Preview Lab → · Contrast checker → · Palette generator →

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