#0D5224#0D5224

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

Color values

HEX#0D5224
RGBrgb(13, 82, 36)
HSLhsl(140, 73%, 19%)
HSVhsv(140, 84%, 32%)
CMYKcmyk(84.1%, 0%, 56.1%, 67.8%)
CIE-LABlab(30.03, -32.03, 21.11)
CIE-LCHlch(30.03, 38.36, 146.61°)
OKLaboklab(38.61% -0.086 0.051)
OKLCHoklch(38.61% 0.1 149.3)
XYZxyz(3.5014, 6.2471, 2.6900)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5224 #520D3B
analogous
#18520D #0D5224 #0D5246
triadic
#0D5224 #240D52 #52240D
tetradic
#0D5224 #0D1852 #520D3B #52460D
square
#0D5224 #0D1852 #520D3B #52460D
split-complementary
#0D5224 #460D52 #520D18
monochromatic
#041A0C #051D0D #0D5224 #15873B #1EBC52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D5224#FFFFFF#000000##FFFFFF
##0D52241.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)
#534A20
Deuteranopia (green-blind)
#4B4527
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d5224;
/* rgb */ color: rgb(13, 82, 36);
/* oklch */ color: oklch(38.6% 0.100 149.3);
Tailwind
colors: {
  custom: {
    50: '#598360',
    500: '#0d5224',
    950: '#000000',
  },
}
SCSS
$custom: #0d5224;
$custom-light: #598360;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5224",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 36
  },
  "hsl": {
    "h": 140,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38606,
    "c": 0.10003,
    "h": 149.3
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#0D5224
secondary
#8D2E6D
accent
#38B2EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5224

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

Preview Lab → · Contrast checker → · Palette generator →

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